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


Ignore:
Timestamp:
Jun 17, 2013, 8:52:03 AM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5236 r5237  
    29682968void bncWindow::slotMapPPPClosed() {
    29692969#ifdef QT_WEBKIT
    2970   delete _mapWin;
    2971   _mapWin = 0;
     2970  if (_mapWin) {
     2971    QListIterator<bncGetThread*> it(_threads);
     2972    while (it.hasNext()) {
     2973      bncGetThread* thread = it.next();
     2974      thread->disconnect(_mapWin);
     2975    }
     2976    if (_postProcessing) {
     2977      _postProcessing->disconnect(_mapWin);
     2978    }
     2979    delete _mapWin;
     2980    _mapWin = 0;
     2981  }
    29722982  slotBncTextChanged();
    29732983#endif
Note: See TracChangeset for help on using the changeset viewer.