Changeset 113 in ntrip for trunk/BNC/bncmain.cpp


Ignore:
Timestamp:
Sep 7, 2006, 12:38:55 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmain.cpp

    r100 r113  
    4343  QCoreApplication::setApplicationName("BKG_NTRIP_Client");
    4444
     45  QSettings settings;
    4546  if (GUIenabled) {
     47
     48    QString fontString = settings.value("font").toString();
     49    if ( !fontString.isEmpty() ) {
     50      QFont newFont;
     51      if (newFont.fromString(fontString)) {
     52        QApplication::setFont(newFont);
     53      }
     54    }
     55
    4656    bncWindow* bncWin = new bncWindow();
    4757    bncWin->show();
    4858  }
    4959  else {
    50     QSettings settings;
    5160    bncCaster* caster = new bncCaster(settings.value("outFile").toString(),
    5261                                      settings.value("outPort").toInt());
Note: See TracChangeset for help on using the changeset viewer.