Move feature macro declaration to build scripts

PR #18825.
This commit is contained in:
Chocobo1 2023-04-10 13:38:00 +08:00 committed by GitHub
commit 5dcc14153f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 34 additions and 31 deletions

View file

@ -34,7 +34,6 @@
#include <QSpinBox>
#include <QTableWidget>
#include "gui/desktopintegration.h"
#include "guiapplicationcomponent.h"
class AdvancedSettings final : public QTableWidget, public GUIApplicationComponent
@ -58,7 +57,7 @@ private slots:
void updateCacheSpinSuffix(int value);
#endif
#ifdef QBT_USES_CUSTOMDBUSNOTIFICATIONS
#ifdef QBT_USES_DBUS
void updateNotificationTimeoutSuffix(int value);
#endif
@ -98,7 +97,7 @@ private:
QCheckBox m_checkBoxIconsInMenusEnabled;
#endif
#ifdef QBT_USES_CUSTOMDBUSNOTIFICATIONS
#ifdef QBT_USES_DBUS
QSpinBox m_spinBoxNotificationTimeout;
#endif
};