Browse Source

Suppress unused variable warning on macOS

adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
f76d56e224
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 4
      src/gui/mainwindow.cpp

4
src/gui/mainwindow.cpp

@ -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…
Cancel
Save