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

Little cleanup for Linux platform code & build

CheckCXXSourceCompiles is not needed anymore

Material wayland decorations could be checked just with IsQtPluginsBundled
This commit is contained in:
Ilya Fedin
2020-10-01 17:22:39 +04:00
committed by John Preston
parent 0536a479f9
commit 1d24d29afa
2 changed files with 2 additions and 7 deletions

View File

@@ -1342,15 +1342,11 @@ void start() {
"this may lead to font issues.");
#endif // DESKTOP_APP_USE_PACKAGED_FONTS
if(IsStaticBinary()
|| InAppImage()
|| InFlatpak()
|| InSnap()
|| IsQtPluginsBundled()) {
if (IsQtPluginsBundled()) {
qputenv("QT_WAYLAND_DECORATION", "material");
}
if((IsStaticBinary()
if ((IsStaticBinary()
|| InAppImage()
|| IsQtPluginsBundled())
// it is handled by Qt for flatpak and snap