Changeset 752 in ntrip for trunk/BNS/bnsmain.cpp
- Timestamp:
- Mar 30, 2008, 3:39:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnsmain.cpp
r749 r752 17 17 #include <unistd.h> 18 18 #include <signal.h> 19 #include <QApplication>20 19 #include <iostream> 21 20 … … 50 49 QSettings settings; 51 50 if (settings.allKeys().size() == 0) { 52 settings.setValue("casterHost", "www.euref-ip.net");53 settings.setValue("casterPort", 2101);54 51 } 55 52 … … 59 56 // --------------------------------------- 60 57 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 72 58 bnsWindow* bnsWin = new bnsWindow(); 73 59 bnsWin->show();
Note:
See TracChangeset
for help on using the changeset viewer.