Changeset 1299 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- Dec 12, 2008, 5:58:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r1292 r1299 66 66 setWindowTitle(tr("BKG Ntrip Client (BNC) Version 1.7")); 67 67 68 connect((bncApp*)qApp, SIGNAL(newMessage(QByteArray )),69 this, SLOT(slotWindowMessage(QByteArray )));68 connect((bncApp*)qApp, SIGNAL(newMessage(QByteArray,bool)), 69 this, SLOT(slotWindowMessage(QByteArray,bool))); 70 70 71 71 // Create Actions … … 681 681 //////////////////////////////////////////////////////////////////////////// 682 682 void bncWindow::slotGetThreadErrors() { 683 ((bncApp*)qApp)->slotMessage("All Get Threads Terminated" );683 ((bncApp*)qApp)->slotMessage("All Get Threads Terminated", true); 684 684 if (!_actStop->isEnabled()) { 685 685 _actGetData->setEnabled(true); … … 708 708 this, SLOT(slotMountPointsRead(QList<bncGetThread*>))); 709 709 710 ((bncApp*)qApp)->slotMessage("============ Start BNC ============" );710 ((bncApp*)qApp)->slotMessage("============ Start BNC ============", true); 711 711 712 712 _caster->slotReadMountPoints(); … … 758 758 // Display Program Messages 759 759 //////////////////////////////////////////////////////////////////////////// 760 void bncWindow::slotWindowMessage(const QByteArray msg ) {760 void bncWindow::slotWindowMessage(const QByteArray msg, bool showOnScreen) { 761 761 762 762 #ifdef DEBUG_RTCM2_2021 … … 765 765 const int maxBufferSize = 10000; 766 766 #endif 767 768 if (! showOnScreen ) { 769 return; 770 } 767 771 768 772 QString txt = _log->toPlainText() + "\n" +
Note:
See TracChangeset
for help on using the changeset viewer.