equal
deleted
inserted
replaced
69 bool frontendEffects = true; |
69 bool frontendEffects = true; |
70 |
70 |
71 HWForm::HWForm(QWidget *parent) |
71 HWForm::HWForm(QWidget *parent) |
72 : QMainWindow(parent), pnetserver(0), pRegisterServer(0), editedTeam(0), hwnet(0) |
72 : QMainWindow(parent), pnetserver(0), pRegisterServer(0), editedTeam(0), hwnet(0) |
73 { |
73 { |
74 QSettings settings(cfgdir->absolutePath() + "/hedgewars.ini", QSettings::IniFormat); |
74 gameSettings = new QSettings(cfgdir->absolutePath() + "/hedgewars.ini", QSettings::IniFormat); |
75 frontendEffects = settings.value("video/frontendeffects", true).toBool(); |
75 frontendEffects = gameSettings->value("video/frontendeffects", true).toBool(); |
76 |
76 |
77 ui.setupUi(this); |
77 ui.setupUi(this); |
78 |
78 |
79 CustomizePalettes(); |
79 CustomizePalettes(); |
80 |
80 |