diff -r 734b069a418e -r 1f81bcce3ee6 QTfrontend/ui/widget/selectWeapon.cpp --- a/QTfrontend/ui/widget/selectWeapon.cpp Fri Dec 14 00:12:00 2012 +0400 +++ b/QTfrontend/ui/widget/selectWeapon.cpp Sun Dec 16 12:05:32 2012 +0400 @@ -84,7 +84,7 @@ QFrame(parent), m_numItems(numItems) { - wconf = new QSettings(cfgdir->absolutePath() + "/weapons.ini", QSettings::IniFormat, this); + wconf = new QSettings("physfs://weapons.ini", QSettings::IniFormat, this); for(int i = 0; i < cDefaultAmmos.size(); ++i) wconf->setValue(cDefaultAmmos[i].first, cDefaultAmmos[i].second);