Changeset 1299 in ntrip for trunk/BNC/bncwindow.cpp


Ignore:
Timestamp:
Dec 12, 2008, 5:58:00 PM (15 years ago)
Author:
zdenek
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r1292 r1299  
    6666  setWindowTitle(tr("BKG Ntrip Client (BNC) Version 1.7"));
    6767
    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)));
    7070
    7171  // Create Actions
     
    681681////////////////////////////////////////////////////////////////////////////
    682682void bncWindow::slotGetThreadErrors() {
    683   ((bncApp*)qApp)->slotMessage("All Get Threads Terminated");
     683  ((bncApp*)qApp)->slotMessage("All Get Threads Terminated", true);
    684684  if (!_actStop->isEnabled()) {
    685685    _actGetData->setEnabled(true);
     
    708708           this, SLOT(slotMountPointsRead(QList<bncGetThread*>)));
    709709
    710   ((bncApp*)qApp)->slotMessage("============ Start BNC ============");
     710  ((bncApp*)qApp)->slotMessage("============ Start BNC ============", true);
    711711
    712712  _caster->slotReadMountPoints();
     
    758758// Display Program Messages
    759759////////////////////////////////////////////////////////////////////////////
    760 void bncWindow::slotWindowMessage(const QByteArray msg) {
     760void bncWindow::slotWindowMessage(const QByteArray msg, bool showOnScreen) {
    761761
    762762#ifdef DEBUG_RTCM2_2021 
     
    765765  const int maxBufferSize = 10000;
    766766#endif
     767
     768  if (! showOnScreen ) {
     769    return;
     770  }
    767771 
    768772  QString txt = _log->toPlainText() + "\n" +
Note: See TracChangeset for help on using the changeset viewer.