Changeset 4715 in ntrip


Ignore:
Timestamp:
Sep 10, 2012, 9:55:13 AM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r4708 r4715  
    205205void t_reqcAnalyze::analyzeFile(t_rnxObsFile* obsFile) {
    206206
    207   if (dynamic_cast<bncApp*>(qApp)->GUIenabled()) {
    208     _mutex.lock();
    209   }
     207  _mutex.lock();
    210208
    211209  if (_log) {
     
    276274      qDebug() << str;   
    277275    }
    278     if (dynamic_cast<bncApp*>(qApp)->GUIenabled()) {
    279       _mutex.unlock();
    280     }
     276    _mutex.unlock();
    281277    return;
    282278  }
     
    635631
    636632  if (dynamic_cast<bncApp*>(qApp)->GUIenabled()) {
    637 
    638     _mutex.unlock();
    639     QMutexLocker locker(&_mutex);
    640 
    641633    t_availPlot* plotA = new t_availPlot(0, &_availDataMap);
    642634    plotA->setTitle(title);
     
    662654    }
    663655  }
     656  _mutex.unlock();
    664657}
    665658
Note: See TracChangeset for help on using the changeset viewer.