| 810 | } |
| 811 | |
| 812 | bool ConnectionPanel::automationDisconnect(QString* error) |
| 813 | { |
| 814 | if (!m_connected) { |
| 815 | setAutomationError(error, QStringLiteral("not connected to a radio")); |
| 816 | return false; |
| 817 | } |
| 818 | |
| 819 | emit disconnectRequested(); |
| 820 | return true; |
| 821 | } |
| 822 | |
| 823 | void ConnectionPanel::saveLowBandwidthPreference(bool enabled) |
| 824 | { |
no test coverage detected