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
@@ -30,6 +30,7 @@ QtLocationPicker::QtLocationPicker(QWidget *parent)
m_button = new QtIconButton(
(ResourcePaths::getGuiPath().str() + "window/dots.png").c_str(),
(ResourcePaths::getGuiPath().str() + "window/dots_hover.png").c_str());
m_button->setIconSize(QSize(16, 16));
m_button->setObjectName("dotsButton");
m_button->setToolTip("pick file");
connect(m_button, &QPushButton::clicked, this, &QtLocationPicker::handleButtonPress);