From 311e0f21ebb45d55b5738ecb0d6b96c942562436 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Tue, 29 Nov 2022 21:29:20 +0200 Subject: [PATCH] Remove dead code Leftover from the system tray code refactoring. --- src/gui/mainwindow.cpp | 4 ---- src/gui/mainwindow.h | 5 ----- 2 files changed, 9 deletions(-) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 6f73e4ce9..93eff1ea9 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -50,10 +50,6 @@ #include #include -#ifdef QBT_USES_CUSTOMDBUSNOTIFICATIONS -#include "notifications/dbusnotifier.h" -#endif - #include "base/bittorrent/session.h" #include "base/bittorrent/sessionstatus.h" #include "base/global.h" diff --git a/src/gui/mainwindow.h b/src/gui/mainwindow.h index aace1fd12..e7af3d2e0 100644 --- a/src/gui/mainwindow.h +++ b/src/gui/mainwindow.h @@ -68,11 +68,6 @@ namespace Ui class MainWindow; } -#if (defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)) && defined(QT_DBUS_LIB) -#define QBT_USES_CUSTOMDBUSNOTIFICATIONS -class DBusNotifier; -#endif - class MainWindow final : public QMainWindow, public GUIApplicationComponent { Q_OBJECT