mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Suppress unused variable warning on macOS
This commit is contained in:
parent
37354a9e29
commit
35f8af32a3
1 changed files with 3 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue