mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Suppress unused variable warning on macOS
This commit is contained in:
@@ -118,8 +118,10 @@ namespace
|
|||||||
// Misc
|
// Misc
|
||||||
const QString KEY_DOWNLOAD_TRACKER_FAVICON = QStringLiteral(SETTINGS_KEY("DownloadTrackerFavicon"));
|
const QString KEY_DOWNLOAD_TRACKER_FAVICON = QStringLiteral(SETTINGS_KEY("DownloadTrackerFavicon"));
|
||||||
|
|
||||||
const int TIME_TRAY_BALLOON = 5000;
|
|
||||||
const std::chrono::seconds PREVENT_SUSPEND_INTERVAL {60};
|
const std::chrono::seconds PREVENT_SUSPEND_INTERVAL {60};
|
||||||
|
#if !defined(Q_OS_MACOS)
|
||||||
|
const int TIME_TRAY_BALLOON = 5000;
|
||||||
|
#endif
|
||||||
|
|
||||||
// just a shortcut
|
// just a shortcut
|
||||||
inline SettingsStorage *settings()
|
inline SettingsStorage *settings()
|
||||||
|
|||||||
Reference in New Issue
Block a user