mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Ensure GNotification is not autodetected in snap
Snap reports it as present, but prevents the access and GNotification attempts to use portal that doesn't work in snap
This commit is contained in:
parent
f7971733f4
commit
a1e60a3f20
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ void LaunchGApplication() {
|
|||
};
|
||||
|
||||
if (OptionGApplication.value()
|
||||
|| gtkNotifications()
|
||||
|| (!KSandbox::isSnap() && gtkNotifications())
|
||||
|| (KSandbox::isFlatpak() && !freedesktopNotifications())) {
|
||||
Glib::signal_idle().connect_once([] {
|
||||
const auto appId = QGuiApplication::desktopFileName()
|
||||
|
|
Loading…
Add table
Reference in a new issue