Changeset 5453 in ntrip for trunk/GnssCenter/monitor


Ignore:
Timestamp:
Sep 14, 2013, 3:33:22 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/monitor/monitor.cpp

    r5452 r5453  
    6666  // Host and Port
    6767  // -------------
    68   t_settings settings;
    69   settings.beginGroup(pluginName);
     68  t_settings settings(pluginName);
    7069  settings.setValue("host", "rtnet.rtcm-ntrip.org");
    7170  settings.setValue("port", 7777);
    72   settings.endGroup();
    7371  settings.sync();
    7472
     
    9694void t_monitor::slotStartThrift() {
    9795  if (!_thriftClient) {
    98     t_settings settings;
    99     settings.beginGroup(pluginName);
     96    t_settings settings(pluginName);
    10097    QString host = settings.value("host").toString();
    10198    int     port = settings.value("port").toInt();
    102     settings.endGroup();
    10399    _thriftClient = new t_thriftClient(this, host, port);
    104100    connect(_thriftClient, SIGNAL(finished()), this, SLOT(slotThriftFinished()));
Note: See TracChangeset for help on using the changeset viewer.