equal
deleted
inserted
replaced
149 //setFocusPolicy(Qt::StrongFocus); |
149 //setFocusPolicy(Qt::StrongFocus); |
150 CustomizePalettes(); |
150 CustomizePalettes(); |
151 |
151 |
152 ui.pageOptions->CBResolution->addItems(SDLInteraction::instance().getResolutions()); |
152 ui.pageOptions->CBResolution->addItems(SDLInteraction::instance().getResolutions()); |
153 |
153 |
154 config = new GameUIConfig(this, "physfs://hedgewars.ini"); |
154 config = new GameUIConfig(this, DataManager::instance().settingsFileName()); |
155 frontendEffects = config->value("frontend/effects", true).toBool(); |
155 frontendEffects = config->value("frontend/effects", true).toBool(); |
156 playerHash = QString(QCryptographicHash::hash(config->value("net/nick","").toString().toUtf8(), QCryptographicHash::Md5).toHex()); |
156 playerHash = QString(QCryptographicHash::hash(config->value("net/nick","").toString().toUtf8(), QCryptographicHash::Md5).toHex()); |
157 |
157 |
158 ui.pageRoomsList->setSettings(config); |
158 ui.pageRoomsList->setSettings(config); |
159 ui.pageNetGame->setSettings(config); |
159 ui.pageNetGame->setSettings(config); |