ui: Fixed icon sizes when scaling to highDPI screens fails

* Fixed gcc compile error
This commit is contained in:
Eberhard Graether
2017-11-25 18:21:19 +01:00
parent 2b7349bf9b
commit bfc7a55f70
12 changed files with 43 additions and 7 deletions
+4
View File
@@ -49,4 +49,8 @@ void QtRefreshBar::refreshStyle()
ResourcePaths::getGuiPath().str() + "refresh_view/images/refresh.png",
"search/button"
));
int iconSize = int(height / 4) * 2 + 2;
m_refreshButton->setIconSize(QSize(iconSize, iconSize));
}