diff options
-rw-r--r-- | src/mumble/MainWindow.cpp | 3 | ||||
-rw-r--r-- | src/mumble/MainWindow.ui | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/mumble/MainWindow.cpp b/src/mumble/MainWindow.cpp index 4acb6e259..65d1f090c 100644 --- a/src/mumble/MainWindow.cpp +++ b/src/mumble/MainWindow.cpp @@ -3329,6 +3329,9 @@ void MainWindow::serverDisconnected(QAbstractSocket::SocketError err, QString re qmUser_aboutToShow(); on_qmConfig_aboutToShow(); + // We can't record without a server anyway, so we disable the functionality here + enableRecording(false); + if (!Global::get().sh->qlErrors.isEmpty()) { foreach (QSslError e, Global::get().sh->qlErrors) Global::get().l->log(Log::Warning, tr("SSL Verification failed: %1").arg(e.errorString().toHtmlEscaped())); diff --git a/src/mumble/MainWindow.ui b/src/mumble/MainWindow.ui index ce58b1a39..72b38b7f5 100644 --- a/src/mumble/MainWindow.ui +++ b/src/mumble/MainWindow.ui @@ -916,6 +916,9 @@ the channel's context menu.</string> </property> </action> <action name="qaRecording"> + <property name="enabled"> + <bool>false</bool> + </property> <property name="icon"> <iconset> <normaloff>skin:actions/media-record.svg</normaloff>skin:actions/media-record.svg</iconset> |