QTfrontend/hwform.cpp
changeset 8918 512753ea4b1b
parent 8901 505307b9735d
child 8977 d424c7f8b342
equal deleted inserted replaced
8917:263f2a8475bc 8918:512753ea4b1b
   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);