summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/qt5/main.cc2
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);