Changeset 5473 in ntrip


Ignore:
Timestamp:
Sep 18, 2013, 12:02:56 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5472 r5473  
    124124/////////////////////////////////////////////////////////////////////////////
    125125void t_monitor::slotStartThrift() {
     126  _actConfig->setEnabled(false);
     127  _actStartThrift->setEnabled(false);
     128  _actStopThrift->setEnabled(true);
    126129  if (!_thriftClient) {
    127     _actConfig->setEnabled(false);
    128     _actStartThrift->setEnabled(false);
    129     _actStopThrift->setEnabled(true);
    130130    t_settings settings(pluginName);
    131131    QString host = settings.value("host").toString();
     
    144144/////////////////////////////////////////////////////////////////////////////
    145145void t_monitor::slotStopThrift() {
     146  _actStopThrift->setEnabled(false);
    146147  if (_thriftClient) {
    147     _actConfig->setEnabled(true);
    148     _actStartThrift->setEnabled(true);
    149     _actStopThrift->setEnabled(false);
    150148    _thriftClient->stop();
    151149    _thriftClient = 0;
     
    158156  _actConfig->setEnabled(true);
    159157  _actStartThrift->setEnabled(true);
     158  _actStopThrift->setEnabled(false);
    160159  sender()->deleteLater();
    161160  _thriftClient = 0;
Note: See TracChangeset for help on using the changeset viewer.