diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-05-24 18:13:04 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-05-24 18:13:04 -0500 |
commit | d89395c9666ac90dd7c8b46c932364307788932c (patch) | |
tree | dec17f668072597f9cf27507b29a4b25b96d70f2 | |
parent | beeb5c9377c26ae44a8723609af2d672c32d00b7 (diff) | |
download | horizon-d89395c9666ac90dd7c8b46c932364307788932c.tar.gz horizon-d89395c9666ac90dd7c8b46c932364307788932c.tar.bz2 horizon-d89395c9666ac90dd7c8b46c932364307788932c.tar.xz horizon-d89395c9666ac90dd7c8b46c932364307788932c.zip |
Qt UI: Support High DPI screens
-rw-r--r-- | ui/qt5/main.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt5/main.cc b/ui/qt5/main.cc index 22ef39e..6918bde 100644 --- a/ui/qt5/main.cc +++ b/ui/qt5/main.cc @@ -45,6 +45,7 @@ void WaitDialog::reject() { return; } int main(int argc, char *argv[]) { QApplication app(argc, argv); + app.setAttribute(Qt::AA_EnableHighDpiScaling); app.setOrganizationName("Adélie Linux"); app.setApplicationName("Horizon Qt UI"); app.setApplicationVersion(VERSTR); |