Limit maxCoverUpdatePerIteration to range 1..20
This commit is contained in:
committed by
craig.p.drummond
parent
f81175b798
commit
d28cf9ea50
@@ -724,7 +724,7 @@ int Settings::maxCoverFindPerIteration()
|
||||
int Settings::maxCoverUpdatePerIteration()
|
||||
{
|
||||
int v=GET_INT("maxCoverUpdatePerIteration", 5);
|
||||
return v<0 ? 5 : (v>20 ? 20 : v);
|
||||
return v<1 ? 5 : (v>20 ? 20 : v);
|
||||
}
|
||||
|
||||
void Settings::removeConnectionDetails(const QString &v)
|
||||
|
||||
Reference in New Issue
Block a user