Changeset 152 in ntrip


Ignore:
Timestamp:
Sep 9, 2006, 10:11:25 AM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncapp.cpp

    r151 r152  
    3333  _logFile     = 0;
    3434  _logStream   = 0;
     35
     36  _bncVersion  = "BNC 1.0";
    3537}
    3638
  • trunk/BNC/bncapp.h

    r151 r152  
    1818    QTextStream* _logStream;
    1919    int          _logFileFlag;
     20    QString      _bncVersion;
    2021};
    2122#endif
  • trunk/BNC/bncgetthread.cpp

    r148 r152  
    129129    if (line.indexOf("ICY 200 OK") != 0) {
    130130      emit(newMessage(("Wrong Caster Response:\n" + line).toAscii()));
    131       exit(1);
    132131      return failure;
    133132    }
     
    220219    else {
    221220      _nextSleep *= 2;
     221      if (_nextSleep > 60) {
     222        _nextSleep = 60;
     223      }
    222224    }
    223225  }
  • trunk/BNC/bncwindow.cpp

    r149 r152  
    453453  dlg->setLayout(dlgLayout);
    454454  int ww = QFontMetrics(font()).width('w');
    455   dlg->resize(80*ww, 60*ww);
     455  dlg->resize(60*ww, 60*ww);
    456456  dlg->show();
    457457}
     
    467467    QApplication::setFont(newFont);
    468468    int ww = QFontMetrics(newFont).width('w');
    469     setMinimumSize(90*ww, 80*ww);
    470     resize(90*ww, 80*ww);
    471   }
    472 }
     469    setMinimumSize(60*ww, 80*ww);
     470    resize(60*ww, 80*ww);
     471  }
     472}
Note: See TracChangeset for help on using the changeset viewer.