mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Suppress unused variable warning on macOS
This commit is contained in:
parent
d8401c76f5
commit
f76d56e224
1 changed files with 3 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue