1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Suppress unused variable warning on macOS

This commit is contained in:
Chocobo1 2020-04-06 15:29:55 +08:00
parent d8401c76f5
commit f76d56e224
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -118,8 +118,10 @@ namespace
// Misc
const QString KEY_DOWNLOAD_TRACKER_FAVICON = QStringLiteral(SETTINGS_KEY("DownloadTrackerFavicon"));
const int TIME_TRAY_BALLOON = 5000;
const std::chrono::seconds PREVENT_SUSPEND_INTERVAL {60};
#if !defined(Q_OS_MACOS)
const int TIME_TRAY_BALLOON = 5000;
#endif
// just a shortcut
inline SettingsStorage *settings()