Index: /trunk/GnssCenter/monitor/const.h
===================================================================
--- /trunk/GnssCenter/monitor/const.h	(revision 5455)
+++ /trunk/GnssCenter/monitor/const.h	(revision 5456)
@@ -3,4 +3,6 @@
 
 namespace GnssCenter {
+
+static const char pluginName[] = "RTNet Monitor";
 
 class t_CST {
Index: /trunk/GnssCenter/monitor/dlgconf.cpp
===================================================================
--- /trunk/GnssCenter/monitor/dlgconf.cpp	(revision 5455)
+++ /trunk/GnssCenter/monitor/dlgconf.cpp	(revision 5456)
@@ -18,4 +18,5 @@
 #include "dlgconf.h"
 #include "settings.h"
+#include "const.h"
 
 using namespace std;
@@ -25,4 +26,10 @@
 /////////////////////////////////////////////////////////////////////////////
 t_dlgConf::t_dlgConf(QWidget* parent) : QDialog(parent) {
+
+  t_settings settings(pluginName);
+  settings.setValue("host", "rtnet.rtcm-ntrip.org");
+  settings.setValue("port", 7777);
+  settings.sync();
+
 }
 
Index: /trunk/GnssCenter/monitor/dlgconf.h
===================================================================
--- /trunk/GnssCenter/monitor/dlgconf.h	(revision 5455)
+++ /trunk/GnssCenter/monitor/dlgconf.h	(revision 5456)
@@ -3,4 +3,5 @@
 
 #include <QtGui>
+#include "const.h"
 
 namespace GnssCenter {
Index: /trunk/GnssCenter/monitor/monitor.cpp
===================================================================
--- /trunk/GnssCenter/monitor/monitor.cpp	(revision 5455)
+++ /trunk/GnssCenter/monitor/monitor.cpp	(revision 5456)
@@ -72,7 +72,4 @@
   // -------------
   t_settings settings(pluginName);
-  settings.setValue("host", "rtnet.rtcm-ntrip.org");
-  settings.setValue("port", 7777);
-  settings.sync();
 
   // Thrift Client;
Index: /trunk/GnssCenter/monitor/monitor.h
===================================================================
--- /trunk/GnssCenter/monitor/monitor.h	(revision 5455)
+++ /trunk/GnssCenter/monitor/monitor.h	(revision 5456)
@@ -5,4 +5,5 @@
 #include <QWhatsThis>
 #include "plugininterface.h"
+#include "const.h"
 
 namespace GnssCenter {
@@ -13,6 +14,4 @@
 
 namespace GnssCenter {
-
-const static QString pluginName = "RTNet Monitor";
 
 class t_monitor : public QMainWindow {
