Changeset 5453 in ntrip for trunk/GnssCenter/main/settings.cpp


Ignore:
Timestamp:
Sep 14, 2013, 3:33:22 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/main/settings.cpp

    r5452 r5453  
    2626// Constructor
    2727////////////////////////////////////////////////////////////////////////////
    28 t_settings::t_settings() {
     28t_settings::t_settings(const QString& groupName) {
    2929  QMutexLocker locker(&_mutex);
    3030
    31   _app = static_cast<t_app*>(qApp);
     31  _groupName = groupName;
     32  _app       = static_cast<t_app*>(qApp);
    3233
    3334  // First fill the options
     
    111112  settings.sync();
    112113}
    113 
    114 //
    115 ////////////////////////////////////////////////////////////////////////////
    116 void t_settings::beginGroup(const QString& groupName) {
    117   QMutexLocker locker(&_mutex);
    118   _groupName = groupName;
    119 }
    120 
    121 //
    122 ////////////////////////////////////////////////////////////////////////////
    123 void t_settings::endGroup() {
    124   QMutexLocker locker(&_mutex);
    125   _groupName.clear();
    126 }
Note: See TracChangeset for help on using the changeset viewer.