Commit 4b72bd0f authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix QDesktopWidget use

parent 30e60372
......@@ -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 = QDesktopWidget::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