Skip to content

Commit

Permalink
enable Qt::AA_UseHighDpiPixmaps for better less pixeled button icons (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tompollok authored and ahojnnes committed Oct 31, 2018
1 parent 268cff2 commit 83700eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/exe/colmap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ int RunGraphicalUserInterface(int argc, char** argv) {

#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif

Q_INIT_RESOURCE(resources);
Expand Down

0 comments on commit 83700eb

Please sign in to comment.