mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Ref T45, Ref T28 set default consolidation time
(which also is supposed to solve timeout issue)
This commit is contained in:
@@ -2,16 +2,8 @@
|
||||
<ui version="4.0">
|
||||
<class>CSettingsModelComponent</class>
|
||||
<widget class="QFrame" name="CSettingsModelComponent">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>374</width>
|
||||
<height>28</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Frame</string>
|
||||
<string>Models settings</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="hl_SettingsModelComponent">
|
||||
<property name="leftMargin">
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace BlackGui
|
||||
static bool isValid(const int &valueInSeconds) { return valueInSeconds == -1 || (valueInSeconds >= minSecs() && valueInSeconds <= maxSecs()); }
|
||||
|
||||
//! Default, not consolidating
|
||||
static const int &defaultValue() { static const int i = -1; return i; }
|
||||
static const int &defaultValue() { static const int i = 240; return i; }
|
||||
|
||||
//! Minimum
|
||||
static int minSecs() { return 60; }
|
||||
|
||||
Reference in New Issue
Block a user