Changeset 5187 in ntrip for trunk/BNC/src/bncwindow.cpp
- Timestamp:
- Jun 9, 2013, 10:48:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r5186 r5187 2137 2137 //////////////////////////////////////////////////////////////////////////// 2138 2138 void bncWindow::slotMountPointsRead(QList<bncGetThread*> threads) { 2139 _threads = threads; 2140 2139 2141 _bncFigure->updateMountPoints(); 2140 2142 _bncFigureLate->updateMountPoints(); … … 2171 2173 SLOT(slotNewPosition(bncTime, double, double, double))); 2172 2174 } 2175 2176 if (_mapWin) { 2177 disconnect(thread, SIGNAL(newPosition(bncTime, double, double, double)), 2178 _mapWin, SLOT(slotNewPosition(bncTime, double, double, double))); 2179 connect(thread, SIGNAL(newPosition(bncTime, double, double, double)), 2180 _mapWin, SLOT(slotNewPosition(bncTime, double, double, double))); 2181 } 2182 2173 2183 break; 2174 2184 } … … 2859 2869 if (!_mapWin) { 2860 2870 _mapWin = new bncMapWin(this); 2871 QListIterator<bncGetThread*> it(_threads); 2872 while (it.hasNext()) { 2873 bncGetThread* thread = it.next(); 2874 connect(thread, SIGNAL(newPosition(bncTime, double, double, double)), 2875 _mapWin, SLOT(slotNewPosition(bncTime, double, double, double))); 2876 } 2861 2877 } 2862 2878 _mapWin->show();
Note:
See TracChangeset
for help on using the changeset viewer.