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
+6
View File
@@ -178,6 +178,9 @@ void QtGraphView::refreshView()
"search/button"
));
m_expandButton->setIconSize(QSize(16, 16));
m_collapseButton->setIconSize(QSize(16, 16));
updateTrailButtons();
});
}
@@ -764,6 +767,9 @@ void QtGraphView::updateTrailButtons()
ResourcePaths::getGuiPath().str() + "graph_view/images/" + forwardImagePath,
"search/button"
));
m_backwardTrailButton->setIconSize(QSize(16, 16));
m_forwardTrailButton->setIconSize(QSize(16, 16));
}
void QtGraphView::switchToNewGraphData()