diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-06-05 13:06:39 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-06-12 20:02:56 +0200 |
commit | dad35c2cbbb3897593d682d7c250a654aa41489b (patch) | |
tree | e7da430cbb057c88337a9c554f53098c50931c2d /gui/main.cpp | |
parent | 121016fd03ece09642974123020bf4698886c614 (diff) |
[bug] systray pain and vodoo
Signed-off-by: kali kaneko (leap communications) <kali@leap.se>
Diffstat (limited to 'gui/main.cpp')
-rw-r--r-- | gui/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/main.cpp b/gui/main.cpp index 3e96761..e6e9bb8 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -1,4 +1,4 @@ -#include <QGuiApplication> +#include <QApplication> #include <QQmlApplicationEngine> #include <QQuickWindow> #include <QTimer> @@ -71,8 +71,8 @@ int main(int argc, char **argv) { exit(0); } - QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); - QGuiApplication app(argc, argv); + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QApplication app(argc, argv); app.setQuitOnLastWindowClosed(false); QQmlApplicationEngine engine; QQmlContext *ctx = engine.rootContext(); |