Changeset 4708 in ntrip


Ignore:
Timestamp:
Sep 9, 2012, 8:11:38 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4707 r4708  
    205205void t_reqcAnalyze::analyzeFile(t_rnxObsFile* obsFile) {
    206206
    207   _mutex.lock();
     207  if (dynamic_cast<bncApp*>(qApp)->GUIenabled()) {
     208    _mutex.lock();
     209  }
    208210
    209211  if (_log) {
     
    274276      qDebug() << str;   
    275277    }
    276     _mutex.unlock();
     278    if (dynamic_cast<bncApp*>(qApp)->GUIenabled()) {
     279      _mutex.unlock();
     280    }
    277281    return;
    278282  }
     
    630634                                     const QByteArray& title) {
    631635
    632   _mutex.unlock();
    633   QMutexLocker locker(&_mutex);
    634 
    635636  if (dynamic_cast<bncApp*>(qApp)->GUIenabled()) {
     637
     638    _mutex.unlock();
     639    QMutexLocker locker(&_mutex);
    636640
    637641    t_availPlot* plotA = new t_availPlot(0, &_availDataMap);
Note: See TracChangeset for help on using the changeset viewer.