QTfrontend/hwform.cpp
changeset 3284 7ffd0e20ad08
parent 3283 18ee933a5864
child 3324 339b271d6641
equal deleted inserted replaced
3283:18ee933a5864 3284:7ffd0e20ad08
    80     gameSettings = new QSettings(cfgdir->absolutePath() + "/hedgewars.ini", QSettings::IniFormat);
    80     gameSettings = new QSettings(cfgdir->absolutePath() + "/hedgewars.ini", QSettings::IniFormat);
    81     frontendEffects = gameSettings->value("frontend/effects", 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     setMinimumSize(760, 580);
    86 
    86 
    87     CustomizePalettes();
    87     CustomizePalettes();
    88     
    88     
    89     ui.pageOptions->CBResolution->addItems(sdli.getResolutions());
    89     ui.pageOptions->CBResolution->addItems(sdli.getResolutions());
    90 
    90