Changeset 5473 in ntrip for trunk/GnssCenter
- Timestamp:
- Sep 18, 2013, 12:02:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/monitor.cpp
r5472 r5473 124 124 ///////////////////////////////////////////////////////////////////////////// 125 125 void t_monitor::slotStartThrift() { 126 _actConfig->setEnabled(false); 127 _actStartThrift->setEnabled(false); 128 _actStopThrift->setEnabled(true); 126 129 if (!_thriftClient) { 127 _actConfig->setEnabled(false);128 _actStartThrift->setEnabled(false);129 _actStopThrift->setEnabled(true);130 130 t_settings settings(pluginName); 131 131 QString host = settings.value("host").toString(); … … 144 144 ///////////////////////////////////////////////////////////////////////////// 145 145 void t_monitor::slotStopThrift() { 146 _actStopThrift->setEnabled(false); 146 147 if (_thriftClient) { 147 _actConfig->setEnabled(true);148 _actStartThrift->setEnabled(true);149 _actStopThrift->setEnabled(false);150 148 _thriftClient->stop(); 151 149 _thriftClient = 0; … … 158 156 _actConfig->setEnabled(true); 159 157 _actStartThrift->setEnabled(true); 158 _actStopThrift->setEnabled(false); 160 159 sender()->deleteLater(); 161 160 _thriftClient = 0;
Note:
See TracChangeset
for help on using the changeset viewer.