mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
Improve D-Bus notifications handling
Make notifications clickable on Linux by assigning "default" action. Don't react to unrelated notifications clicked by keeping track of qBittorrent notifications IDs and filter out unrelated ones. Make D-Bus Notifications interface proxy class to be maintained manually and fix coding style in it. Closes #9084. PR #17282.
This commit is contained in:
committed by
GitHub
parent
cc0a0b56ed
commit
ac8a6887b6
@@ -211,12 +211,14 @@ win32|macx {
|
||||
|
||||
unix:!macx:dbus {
|
||||
HEADERS += \
|
||||
$$PWD/powermanagement/powermanagement_x11.h \
|
||||
$$PWD/qtnotify/notifications.h
|
||||
$$PWD/notifications/dbusnotifier.h \
|
||||
$$PWD/notifications/dbusnotificationsinterface.h \
|
||||
$$PWD/powermanagement/powermanagement_x11.h
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/powermanagement/powermanagement_x11.cpp \
|
||||
$$PWD/qtnotify/notifications.cpp
|
||||
$$PWD/notifications/dbusnotifier.cpp \
|
||||
$$PWD/notifications/dbusnotificationsinterface.cpp \
|
||||
$$PWD/powermanagement/powermanagement_x11.cpp
|
||||
}
|
||||
|
||||
macx {
|
||||
|
||||
Reference in New Issue
Block a user