- Timestamp:
- Apr 28, 2012, 1:38:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncsettings.cpp
r4074 r4075 233 233 void bncSettings::sync() { 234 234 QMutexLocker locker(&_mutex); 235 236 } 235 QSettings settings(_bncApp->confFileName(), QSettings::IniFormat); 236 settings.clear(); 237 QMapIterator<QString, QVariant> it(_bncApp->_settings); 238 while (it.hasNext()) { 239 it.next(); 240 settings.setValue(it.key(), it.value()); 241 } 242 settings.sync(); 243 }
Note:
See TracChangeset
for help on using the changeset viewer.