2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Try to remove Wayland blacklist again

This commit is contained in:
Ilya Fedin
2023-03-20 14:14:56 +04:00
committed by John Preston
parent dc459d454f
commit c78a15410d
2 changed files with 1 additions and 20 deletions

View File

@@ -69,14 +69,7 @@ FilteredCommandLineArguments::FilteredCommandLineArguments(
pushArgument("cocoa:fontengine=freetype");
#endif // !Q_OS_WIN
}
#elif defined Q_OS_UNIX
if (QFile::exists(cWorkingDir() + u"tdata/nowayland"_q)
&& qEnvironmentVariableIsEmpty("QT_QPA_PLATFORM")) {
LOG(("Wayland: Disable on old installations"));
pushArgument("-platform");
pushArgument("xcb;wayland");
}
#endif // Q_OS_WIN || Q_OS_MAC || Q_OS_UNIX
#endif // Q_OS_WIN || Q_OS_MAC
pushArgument(nullptr);
}