diff options
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(); |