From 1beada6e4aa8a47d2266d3557fd44db60d22a79c Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 18 Jun 2020 22:01:09 +0400 Subject: [PATCH] Hide notification position in settings on Wayland --- Telegram/SourceFiles/settings/settings_notifications.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Telegram/SourceFiles/settings/settings_notifications.cpp b/Telegram/SourceFiles/settings/settings_notifications.cpp index 59996f7b31..e197c976a9 100644 --- a/Telegram/SourceFiles/settings/settings_notifications.cpp +++ b/Telegram/SourceFiles/settings/settings_notifications.cpp @@ -656,6 +656,9 @@ void SetupNotificationsContent( }(); const auto advancedSlide = !Platform::IsMac10_8OrGreater() +#if defined Q_OS_UNIX && !defined Q_OS_MAC && !defined TDESKTOP_DISABLE_DBUS_INTEGRATION + && !Platform::IsWayland() +#endif // Q_OS_UNIX && !Q_OS_MAC && !TDESKTOP_DISABLE_DBUS_INTEGRATION ? container->add( object_ptr>( container,