mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
Hide notification position in settings on Wayland
This commit is contained in:
parent
a416debc2f
commit
1beada6e4a
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue