Browse Source

Merge pull request #18104 from sledgehammer999/remove_dead_code

Remove dead code
adaptive-webui-19844
sledgehammer999 2 years ago committed by GitHub
parent
commit
12b58be8c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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