Variable Declaration

Book Declare for new setting value
This commit is contained in:
woogerboy21 2014-07-01 01:28:57 -04:00
parent 3fbdf735ee
commit fd953c1459

View file

@ -132,7 +132,7 @@ bool Servatrice::initServer()
{
serverName = settings->value("server/name").toString();
serverId = settings->value("server/id", 0).toInt();
regServerOnly = settings->value("server/regonly", 0).toBool();
bool regServerOnly = settings->value("server/regonly", 0).toBool();
const QString authenticationMethodStr = settings->value("authentication/method").toString();
if (authenticationMethodStr == "sql") {