From 82cfedfa43fc83665bb89833c2946b622f22de95 Mon Sep 17 00:00:00 2001 From: Gigadoc2 Date: Mon, 9 Sep 2019 10:36:34 +0200 Subject: [PATCH] re-enable wayland --- src/main.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 68226ec88..91eb1b73e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -53,13 +53,6 @@ int main(int argc, char** argv) #ifdef Q_OS_LINUX QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); #endif -#endif -#ifdef Q_OS_LINUX - if (qgetenv("XDG_SESSION_TYPE") == QByteArrayLiteral("wayland") && qgetenv("QT_QPA_PLATFORM").isEmpty()) { - qWarning() << "Warning: disregarding XDG_SESSION_TYPE=wayland"; - qWarning() << "To use wayland anyway, please set QT_QPA_PLATFORM=wayland"; - qunsetenv("XDG_SESSION_TYPE"); - } #endif Application app(argc, argv);