diff --git a/Client/qtTeamTalk/changestatusdlg.cpp b/Client/qtTeamTalk/changestatusdlg.cpp index 4d313a7f4..a42433ec3 100644 --- a/Client/qtTeamTalk/changestatusdlg.cpp +++ b/Client/qtTeamTalk/changestatusdlg.cpp @@ -66,6 +66,9 @@ void ChangeStatusDlg::slotAccepted() case STATUSMODE_QUESTION : m_user.nStatusMode |= STATUSMODE_QUESTION; break; + default : + Q_ASSERT(false /* this status mode is not implemented*/); + break; } ttSettings->setValue(SETTINGS_GENERAL_STATUSMESSAGE, ui.msgEdit->text()); diff --git a/Client/qtTeamTalk/mainwindow.cpp b/Client/qtTeamTalk/mainwindow.cpp index 98740686b..9445478b4 100644 --- a/Client/qtTeamTalk/mainwindow.cpp +++ b/Client/qtTeamTalk/mainwindow.cpp @@ -2309,6 +2309,10 @@ void MainWindow::hotkeyToggle(HotKeyID id, bool active) { switch(id) { + case HOTKEY_NONE : + case HOTKEY_NEXT_UNUSED : + Q_ASSERT(false /* these hotkey are not implemented*/); + break; case HOTKEY_PUSHTOTALK : pttHotKey(active); break; diff --git a/Client/qtTeamTalk/preferencesdlg.cpp b/Client/qtTeamTalk/preferencesdlg.cpp index 171b67d8c..fedfc9cfe 100644 --- a/Client/qtTeamTalk/preferencesdlg.cpp +++ b/Client/qtTeamTalk/preferencesdlg.cpp @@ -839,6 +839,11 @@ void PreferencesDlg::slotSaveChanges() switch(newsndsys) { + case SOUNDSYSTEM_NONE : + case SOUNDSYSTEM_OPENSLES_ANDROID : + case SOUNDSYSTEM_AUDIOUNIT : + Q_ASSERT(false /* these sound systems are not supported*/); + break; case SOUNDSYSTEM_WASAPI: ttSettings->setValue(SETTINGS_SOUND_SOUNDSYSTEM, SOUNDSYSTEM_WASAPI); break;