Restrict file cache expiry time to positive values.

This commit is contained in:
Tommaso Cucinotta 2017-04-02 14:55:33 +02:00
parent ccfbfdaf2b
commit 621ccc5e4e

View File

@ -72,6 +72,7 @@
#include <iomanip>
#include <sstream>
#include <algorithm>
#include <math.h>
using namespace Ui;
@ -1683,7 +1684,7 @@ PrefConverters::PrefConverters(GuiPreferences * form)
converterED->setValidator(new NoNewLineValidator(converterED));
converterFlagED->setValidator(new NoNewLineValidator(converterFlagED));
maxAgeLE->setValidator(new QDoubleValidator(maxAgeLE));
maxAgeLE->setValidator(new QDoubleValidator(0, HUGE_VAL, 6, maxAgeLE));
//converterDefGB->setFocusProxy(convertersLW);
}