diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-05-24 21:30:19 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-05-24 21:30:19 -0500 |
commit | 36541505b3e9829614de34da1afa3b72687dc042 (patch) | |
tree | e7038873debb477a0226dbb922ccf58defa609e9 /ui | |
parent | 9c9e400b68f9cfb2270434fb8a16cc0df906ab8b (diff) | |
download | horizon-36541505b3e9829614de34da1afa3b72687dc042.tar.gz horizon-36541505b3e9829614de34da1afa3b72687dc042.tar.bz2 horizon-36541505b3e9829614de34da1afa3b72687dc042.tar.xz horizon-36541505b3e9829614de34da1afa3b72687dc042.zip |
Qt UI: Fix high DPI support
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt5/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt5/main.cc b/ui/qt5/main.cc index 6918bde..5602d1f 100644 --- a/ui/qt5/main.cc +++ b/ui/qt5/main.cc @@ -44,8 +44,8 @@ void WaitDialog::accept() { return; } void WaitDialog::reject() { return; } int main(int argc, char *argv[]) { + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication app(argc, argv); - app.setAttribute(Qt::AA_EnableHighDpiScaling); app.setOrganizationName("Adélie Linux"); app.setApplicationName("Horizon Qt UI"); app.setApplicationVersion(VERSTR); |