mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-08 06:00:59 -07:00
Regenerate D-Bus notifications related code
This commit is contained in:
parent
6777a615d4
commit
e18b2ab437
4 changed files with 13 additions and 13 deletions
|
@ -1666,7 +1666,7 @@ void MainWindow::showNotificationBaloon(const QString &title, const QString &msg
|
|||
{
|
||||
if (!isNotificationsEnabled()) return;
|
||||
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)) && defined(QT_DBUS_LIB)
|
||||
org::freedesktop::Notifications notifications("org.freedesktop.Notifications",
|
||||
OrgFreedesktopNotificationsInterface notifications("org.freedesktop.Notifications",
|
||||
"/org/freedesktop/Notifications",
|
||||
QDBusConnection::sessionBus());
|
||||
// Testing for 'notifications.isValid()' isn't helpful here.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue