Suppress unused variable warning on macOS

This commit is contained in:
Chocobo1 2020-04-06 15:29:55 +08:00 committed by sledgehammer999
parent 37354a9e29
commit 35f8af32a3
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

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()