mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-29 13:47:47 +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:
parent
f7971733f4
commit
a1e60a3f20
@ -286,7 +286,7 @@ void LaunchGApplication() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (OptionGApplication.value()
|
if (OptionGApplication.value()
|
||||||
|| gtkNotifications()
|
|| (!KSandbox::isSnap() && gtkNotifications())
|
||||||
|| (KSandbox::isFlatpak() && !freedesktopNotifications())) {
|
|| (KSandbox::isFlatpak() && !freedesktopNotifications())) {
|
||||||
Glib::signal_idle().connect_once([] {
|
Glib::signal_idle().connect_once([] {
|
||||||
const auto appId = QGuiApplication::desktopFileName()
|
const auto appId = QGuiApplication::desktopFileName()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user