mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +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">
|
<ui version="4.0">
|
||||||
<class>CSettingsModelComponent</class>
|
<class>CSettingsModelComponent</class>
|
||||||
<widget class="QFrame" name="CSettingsModelComponent">
|
<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">
|
<property name="windowTitle">
|
||||||
<string>Frame</string>
|
<string>Models settings</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="hl_SettingsModelComponent">
|
<layout class="QHBoxLayout" name="hl_SettingsModelComponent">
|
||||||
<property name="leftMargin">
|
<property name="leftMargin">
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ namespace BlackGui
|
|||||||
static bool isValid(const int &valueInSeconds) { return valueInSeconds == -1 || (valueInSeconds >= minSecs() && valueInSeconds <= maxSecs()); }
|
static bool isValid(const int &valueInSeconds) { return valueInSeconds == -1 || (valueInSeconds >= minSecs() && valueInSeconds <= maxSecs()); }
|
||||||
|
|
||||||
//! Default, not consolidating
|
//! 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
|
//! Minimum
|
||||||
static int minSecs() { return 60; }
|
static int minSecs() { return 60; }
|
||||||
|
|||||||
Reference in New Issue
Block a user