Changeset 4075 in ntrip


Ignore:
Timestamp:
Apr 28, 2012, 1:38:50 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncsettings.cpp

    r4074 r4075  
    233233void bncSettings::sync() {
    234234  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.