mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-11 04:43:56 -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();
|
serverName = settings->value("server/name").toString();
|
||||||
serverId = settings->value("server/id", 0).toInt();
|
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();
|
const QString authenticationMethodStr = settings->value("authentication/method").toString();
|
||||||
if (authenticationMethodStr == "sql") {
|
if (authenticationMethodStr == "sql") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue