Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
removed unnecessary mac code
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-Duduf committed Mar 12, 2017
1 parent f681830 commit 21fbfc7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,7 @@ MainWindow::MainWindow(QWidget *parent) :

void MainWindow::updateCSS()
{
#ifdef Q_OS_MAC // Maybe not needed anymore ?
//QDir bundle = QCoreApplication::applicationDirPath();
//bundle.cdUp();
//QFile cssFile(bundle.path() + "/Resources/" + "style.css");
QFile cssFile(":/styles/default");
#else
QFile cssFile(":/styles/default");
#endif
cssFile.open(QFile::ReadOnly);
QString css = QString(cssFile.readAll());
cssFile.close();
Expand Down

0 comments on commit 21fbfc7

Please sign in to comment.