equal
deleted
inserted
replaced
410 { |
410 { |
411 QSettings registry(QSettings::NativeFormat, QSettings::UserScope, "Hedgewars Project", "Hedgewars"); |
411 QSettings registry(QSettings::NativeFormat, QSettings::UserScope, "Hedgewars Project", "Hedgewars"); |
412 QFileInfo f(argv[0]); |
412 QFileInfo f(argv[0]); |
413 registry.setValue("file", f.absoluteFilePath()); |
413 registry.setValue("file", f.absoluteFilePath()); |
414 registry.setValue("path", f.absolutePath()); |
414 registry.setValue("path", f.absolutePath()); |
415 registry.setValue("version", cVersionString); |
|
416 } |
415 } |
417 #endif |
416 #endif |
418 |
417 |
419 HWForm *Form = new HWForm(); |
418 HWForm *Form = new HWForm(); |
420 |
419 |