Commit 7c61ba81 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Third attempt at fixing Android build

parent 0ef9597f
......@@ -46,7 +46,7 @@ public:
QVBoxLayout *sideLayout = new QVBoxLayout();
// Not sure this is the best way but it works for now
const int screenWidth = QApplication::desktop()->screenGeometry().width();
const int screenWidth = QApplication::desktop()->screenGeometry(mainWidget).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