QTfrontend/ui/widget/selectWeapon.cpp
branchflibqtfrontend
changeset 8282 1f81bcce3ee6
parent 7830 72e52da6ea7f
--- 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);