| 214 | } |
| 215 | |
| 216 | void |
| 217 | RMSViewer::onOpenSettings(void) |
| 218 | { |
| 219 | if (this->openSettings() && this->haveAddrData()) { |
| 220 | if (this->getListeningState()) { |
| 221 | int ret = QMessageBox::question( |
| 222 | this, |
| 223 | "Restart TCP server", |
| 224 | "TCP server settings have just changed, but it must be restarted " |
| 225 | "in order for the changes to take effect. Restarting will not close " |
| 226 | "existing remote connections.\n\nDo you want to restart " |
| 227 | "it now?"); |
| 228 | if (ret == QMessageBox::Yes) { |
| 229 | this->setListeningState(false); |
| 230 | this->setListeningState(true); |
| 231 | } |
| 232 | } |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | void |
| 237 | RMSViewer::onTitleChanged(QString title) |
nothing calls this directly
no test coverage detected