QTfrontend/main.cpp
changeset 3681 1ee5b476e6b5
parent 3679 acf5acc18522
child 3697 d5b30d6373fc
equal deleted inserted replaced
3679:acf5acc18522 3681:1ee5b476e6b5
   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