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

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