Changeset 752 in ntrip for trunk/BNS/bnsmain.cpp


Ignore:
Timestamp:
Mar 30, 2008, 3:39:17 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnsmain.cpp

    r749 r752  
    1717#include <unistd.h>
    1818#include <signal.h>
    19 #include <QApplication>
    2019#include <iostream>
    2120
     
    5049  QSettings settings;
    5150  if (settings.allKeys().size() == 0) {
    52     settings.setValue("casterHost", "www.euref-ip.net");
    53     settings.setValue("casterPort", 2101);
    5451  }
    5552
     
    5956  // ---------------------------------------
    6057  if (GUIenabled) {
    61 
    62     QString fontString = settings.value("font").toString();
    63     if ( !fontString.isEmpty() ) {
    64       QFont newFont;
    65       if (newFont.fromString(fontString)) {
    66         QApplication::setFont(newFont);
    67       }
    68     }
    69    
    70     app.setWindowIcon(QPixmap(":ntrip-logo.png"));
    71 
    7258    bnsWindow* bnsWin = new bnsWindow();
    7359    bnsWin->show();
Note: See TracChangeset for help on using the changeset viewer.