mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
re-enable wayland
This commit is contained in:
parent
8afb1f17b4
commit
82cfedfa43
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user