Commit 0ef9597f authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Actually fix QDesktopWidget use

parent 4b72bd0f
......@@ -46,7 +46,7 @@ public:
QVBoxLayout *sideLayout = new QVBoxLayout();
// Not sure this is the best way but it works for now
const int screenWidth = QDesktopWidget::screenGeometry().width();
const int screenWidth = QApplication::desktop()->screenGeometry().width();
const int iconWidth = screenWidth / 15;
QPushButton *themesButton = new QPushButton(mainWidget);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment