diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-31 16:58:29 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-31 16:58:29 +0300 |
commit | bda0a5003bd614cda29d41cda6d82f99eda296f1 (patch) | |
tree | 223c5e3fe61fdda3e9b4609cdb610c4aedfcd97a /plugins/VoiceService | |
parent | 3cd2d8ebb58ef5fd0ac619536f5afaa34303ab44 (diff) |
fixes #3174 (VoiceService: статус в окне вызова)
Diffstat (limited to 'plugins/VoiceService')
-rw-r--r-- | plugins/VoiceService/src/VoiceCall.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/VoiceService/src/VoiceCall.cpp b/plugins/VoiceService/src/VoiceCall.cpp index 2f47b2d79f..56be10ec6e 100644 --- a/plugins/VoiceService/src/VoiceCall.cpp +++ b/plugins/VoiceService/src/VoiceCall.cpp @@ -212,7 +212,6 @@ void VoiceCall::SetState(int aState) RemoveNotifications(); - wchar_t text[512]; switch (state) { case VOICE_STATE_TALKING: m_calltimer.Start(1000); @@ -240,8 +239,7 @@ void VoiceCall::SetState(int aState) break; case VOICE_STATE_ENDED: m_calltimer.Stop(); - mir_snwprintf(text, _countof(text), TranslateT("Call ended %s"), m_lblStatus.GetText()); - m_lblStatus.SetText(text); + m_lblStatus.SetText(TranslateT("Call ended")); m_btnAnswer.Enable(false); m_btnDrop.SetText(TranslateT("Close")); break; |