Changeset 5873 in ntrip for trunk/BNC/src/bncwindow.cpp


Ignore:
Timestamp:
Aug 8, 2014, 11:42:16 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5865 r5873  
    9191  _casterEph = 0;
    9292
    93   _bncFigure = new bncFigure(this);
     93  _bncFigure     = new bncFigure(this);
    9494  _bncFigureLate = new bncFigureLate(this);
    95   _bncFigurePPP = new bncFigurePPP(this);
     95  _bncFigurePPP  = new bncFigurePPP(this);
     96  connect(BNC_CORE, SIGNAL(newPosition(bncTime, double, double, double)),
     97          _bncFigurePPP, SLOT(slotNewPosition(bncTime, double, double, double)));
    9698  _runningRealTime           = false;
    9799  _runningPostProcessingReqc = false;
     
    19001902        connect(thread, SIGNAL(newLatency(QByteArray, double)),
    19011903                _bncFigureLate, SLOT(slotNewLatency(QByteArray, double)));
    1902         if ( Qt::CheckState(settings.value("pppPlotCoordinates").toInt()) == Qt::Checked) {
    1903           disconnect(thread,
    1904                      SIGNAL(newPosition(bncTime, double, double, double)),
    1905                      _bncFigurePPP,
    1906                      SLOT(slotNewPosition(bncTime, double, double, double)));
    1907           connect(thread, SIGNAL(newPosition(bncTime, double, double, double)),
    1908                   _bncFigurePPP,
    1909                   SLOT(slotNewPosition(bncTime, double, double, double)));
    1910         }
    1911 #ifdef QT_WEBKIT
    1912         if (_mapWin) {
    1913           disconnect(thread, SIGNAL(newPosition(bncTime, double, double, double)),
    1914                      _mapWin, SLOT(slotNewPosition(bncTime, double, double, double)));
    1915           connect(thread, SIGNAL(newPosition(bncTime, double, double, double)),
    1916                   _mapWin, SLOT(slotNewPosition(bncTime, double, double, double)));
    1917         }
    1918 #endif
    19191904        break;
    19201905      }
     
    24972482    _mapWin = new bncMapWin(this);
    24982483    connect(_mapWin, SIGNAL(mapClosed()), this, SLOT(slotMapPPPClosed()));
    2499     QListIterator<bncGetThread*> it(_threads);
    2500     while (it.hasNext()) {
    2501       bncGetThread* thread = it.next();
    2502       connect(thread, SIGNAL(newPosition(bncTime, double, double, double)),
    2503               _mapWin, SLOT(slotNewPosition(bncTime, double, double, double)));
    2504     }
     2484    connect(BNC_CORE, SIGNAL(newPosition(bncTime, double, double, double)),
     2485            _mapWin, SLOT(slotNewPosition(bncTime, double, double, double)));
    25052486  }
    25062487  _mapWin->show();
Note: See TracChangeset for help on using the changeset viewer.