mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 05:58:38 +00:00
Hide notification position in settings on Wayland
This commit is contained in:
parent
a416debc2f
commit
1beada6e4a
@ -656,6 +656,9 @@ void SetupNotificationsContent(
|
|||||||
}();
|
}();
|
||||||
|
|
||||||
const auto advancedSlide = !Platform::IsMac10_8OrGreater()
|
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(
|
? container->add(
|
||||||
object_ptr<Ui::SlideWrap<Ui::VerticalLayout>>(
|
object_ptr<Ui::SlideWrap<Ui::VerticalLayout>>(
|
||||||
container,
|
container,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user