Ref T45, Ref T28 set default consolidation time

(which also is supposed to solve timeout issue)
This commit is contained in:
Klaus Basan
2017-06-15 19:12:19 +02:00
parent 334adbf02d
commit d4e240ca1b
2 changed files with 2 additions and 10 deletions

View File

@@ -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">

View File

@@ -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; }