Changeset 5064 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Mar 29, 2013, 11:58:38 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncsettings.cpp

    r4548 r5064  
    2727  QMutexLocker locker(&_mutex);
    2828
     29#ifdef GNSSCENTER_PLUGIN
     30  _bncApp = 0;
     31  return;
     32#else
    2933  _bncApp = static_cast<bncApp*>(qApp);
     34#endif
    3035
    3136  // First fill the options
     
    220225  QMutexLocker locker(&_mutex);
    221226
    222   if (_bncApp->_settings.contains(key)) {
     227  if (_bncApp && _bncApp->_settings.contains(key)) {
    223228    return _bncApp->_settings[key];
    224229  }
Note: See TracChangeset for help on using the changeset viewer.