mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00: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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user