QTfrontend/hwform.cpp
changeset 3019 d6e19f35d98d
parent 2948 3f21a9dc93d0
child 3159 e5eff81d7635
equal deleted inserted replaced
3018:13ceaad4767e 3019:d6e19f35d98d
    76 {
    76 {
    77 #ifdef USE_XFIRE
    77 #ifdef USE_XFIRE
    78     xfire_init();
    78     xfire_init();
    79 #endif
    79 #endif
    80     gameSettings = new QSettings(cfgdir->absolutePath() + "/hedgewars.ini", QSettings::IniFormat);
    80     gameSettings = new QSettings(cfgdir->absolutePath() + "/hedgewars.ini", QSettings::IniFormat);
    81     frontendEffects = gameSettings->value("video/frontendeffects", true).toBool();
    81     frontendEffects = gameSettings->value("frontend/effects", true).toBool();
    82     playerHash = QString(QCryptographicHash::hash(gameSettings->value("net/nick","").toString().toLatin1(), QCryptographicHash::Md5).toHex());
    82     playerHash = QString(QCryptographicHash::hash(gameSettings->value("net/nick","").toString().toLatin1(), QCryptographicHash::Md5).toHex());
    83 
    83 
    84     ui.setupUi(this);
    84     ui.setupUi(this);
       
    85     setMinimumSize(800, 600);
    85 
    86 
    86     CustomizePalettes();
    87     CustomizePalettes();
    87     
    88     
    88     ui.pageOptions->CBResolution->addItems(sdli.getResolutions());
    89     ui.pageOptions->CBResolution->addItems(sdli.getResolutions());
    89 
    90