Hide notification position in settings on Wayland

This commit is contained in:
Ilya Fedin 2020-06-18 22:01:09 +04:00 committed by John Preston
parent a416debc2f
commit 1beada6e4a

View File

@ -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<Ui::SlideWrap<Ui::VerticalLayout>>(
container,