re-enable wayland

This commit is contained in:
Gigadoc2 2019-09-09 10:36:34 +02:00 committed by Jonathan White
parent 8afb1f17b4
commit 82cfedfa43

View File

@ -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);