equal
deleted
inserted
replaced
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 |