Browse Source

Remove dead code

Leftover from the system tray code refactoring.
adaptive-webui-19844
sledgehammer999 2 years ago
parent
commit
311e0f21eb
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 4
      src/gui/mainwindow.cpp
  2. 5
      src/gui/mainwindow.h

4
src/gui/mainwindow.cpp

@ -50,10 +50,6 @@ @@ -50,10 +50,6 @@
#include <QtGlobal>
#include <QTimer>
#ifdef QBT_USES_CUSTOMDBUSNOTIFICATIONS
#include "notifications/dbusnotifier.h"
#endif
#include "base/bittorrent/session.h"
#include "base/bittorrent/sessionstatus.h"
#include "base/global.h"

5
src/gui/mainwindow.h

@ -68,11 +68,6 @@ namespace Ui @@ -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

Loading…
Cancel
Save