mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 17:44:01 -07:00
Variable Declaration
Book Declare for new setting value
This commit is contained in:
parent
3fbdf735ee
commit
fd953c1459
1 changed files with 1 additions and 1 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue