From ffb09c0d4a867d9eac7e36cd853a0e7959d62cfc Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sun, 2 Feb 2014 19:35:09 +0100 Subject: [PATCH] Fixing typo (qWarning) in voice_vatlib --- src/blackcore/voice_vatlib.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/blackcore/voice_vatlib.cpp b/src/blackcore/voice_vatlib.cpp index 422f63a4d..ff8c265df 100644 --- a/src/blackcore/voice_vatlib.cpp +++ b/src/blackcore/voice_vatlib.cpp @@ -121,7 +121,7 @@ namespace BlackCore { if (!m_voice->SetInputDevice(device.getIndex())) { - qWarning() << "SetInputDevice() failed"; + qWarning() << "Setting input device failed"; } if (!m_voice->IsInputDeviceAlive()) { @@ -149,10 +149,11 @@ namespace BlackCore try { + // there is no return value here: https://dev.vatsim-germany.org/issues/115 m_voice->SetOutputDevice(0, device.getIndex()); if (!m_voice->IsOutputDeviceAlive(0)) { - qWarning() << "Input device hit a fatal error"; + qWarning() << "Output device hit a fatal error"; } this->m_currentOutputDevice = device; }