mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
some token code
This commit is contained in:
parent
1cd63375ba
commit
f553fd7456
15 changed files with 99 additions and 21 deletions
|
|
@ -80,11 +80,11 @@ Servatrice::Servatrice(QSettings *_settings, QObject *parent)
|
|||
else
|
||||
databaseType = DatabaseNone;
|
||||
dbPrefix = settings->value("database/prefix").toString();
|
||||
if (databaseType != DatabaseNone)
|
||||
if (databaseType != DatabaseNone) {
|
||||
openDatabase();
|
||||
|
||||
updateServerList();
|
||||
clearSessionTables();
|
||||
updateServerList();
|
||||
clearSessionTables();
|
||||
}
|
||||
|
||||
const QString roomMethod = settings->value("rooms/method").toString();
|
||||
if (roomMethod == "sql") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue