mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Regenerate D-Bus notifications related code
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user