Changeset 1179 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- Oct 27, 2008, 6:04:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r1178 r1179 696 696 this, SLOT(slotGetThreadErrors())); 697 697 698 connect (_caster, SIGNAL(mountPointsRead( )),699 this, SLOT(slotMountPointsRead( )));700 701 _caster->slotReadMount points();698 connect (_caster, SIGNAL(mountPointsRead(QList<bncGetThread*>)), 699 this, SLOT(slotMountPointsRead(QList<bncGetThread*>))); 700 701 _caster->slotReadMountPoints(); 702 702 703 703 ((bncApp*)qApp)->slotMessage("============ Start BNC ============"); … … 802 802 // 803 803 //////////////////////////////////////////////////////////////////////////// 804 void bncWindow::slotMountPointsRead( ) {804 void bncWindow::slotMountPointsRead(QList<bncGetThread*> threads) { 805 805 populateMountPointsTable(); 806 QListIterator<bncGetThread*> iTh(threads); 807 while (iTh.hasNext()) { 808 bncGetThread* thread = iTh.next(); 809 for (int iRow = 0; iRow < _mountPointsTable->rowCount(); iRow++) { 810 QUrl url( "//" + _mountPointsTable->item(iRow, 0)->text() + 811 "@" + _mountPointsTable->item(iRow, 1)->text() ); 812 if (url == thread->mountPoint() && 813 _mountPointsTable->item(iRow, 3)->text() == thread->latitude() && 814 _mountPointsTable->item(iRow, 4)->text() == thread->longitude() ) { 815 ((bncTableItem*) _mountPointsTable->item(iRow, 6))->setGetThread(thread); 816 break; 817 } 818 } 819 } 806 820 } 807 821
Note:
See TracChangeset
for help on using the changeset viewer.