mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T292, Ref T285 background updater improvements
* less cycles * message history * more detailed status messages
This commit is contained in:
@@ -96,10 +96,10 @@ namespace BlackGui
|
||||
static bool isValid(const int &valueInSeconds) { return valueInSeconds == -1 || (valueInSeconds >= minSecs() && valueInSeconds <= maxSecs()); }
|
||||
|
||||
//! \copydoc BlackCore::TSettingTrait::defaultValue
|
||||
static const int &defaultValue() { static const int i = 240; return i; }
|
||||
static const int &defaultValue() { static const int i = 60; return i; }
|
||||
|
||||
//! Minimum
|
||||
static int minSecs() { return 60; }
|
||||
static int minSecs() { return 30; }
|
||||
|
||||
//! Maximum
|
||||
static int maxSecs() { return 3600; }
|
||||
|
||||
Reference in New Issue
Block a user