From 4d09279c65636cc0d77390c2a06adddf7bb41762 Mon Sep 17 00:00:00 2001 From: Roland Winklmeier Date: Tue, 7 Apr 2015 17:13:22 +0200 Subject: [PATCH] Use full qualified class name for ConnectionStatus. Qt gets confused by the different ConnectionStatus enums we are using and complains it cannot queue the argument. It only works when the fully qualified class name is used. --- src/blackcore/context_audio_impl.cpp | 3 ++- src/blackcore/voice_channel.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/blackcore/context_audio_impl.cpp b/src/blackcore/context_audio_impl.cpp index 727ebf88b..8ea8881de 100644 --- a/src/blackcore/context_audio_impl.cpp +++ b/src/blackcore/context_audio_impl.cpp @@ -519,7 +519,8 @@ namespace BlackCore /* * Connection status changed */ - void CContextAudio::ps_connectionStatusChanged(IVoiceChannel::ConnectionStatus oldStatus, IVoiceChannel::ConnectionStatus newStatus) + void CContextAudio::ps_connectionStatusChanged(BlackCore::IVoiceChannel::ConnectionStatus oldStatus, + BlackCore::IVoiceChannel::ConnectionStatus newStatus) { Q_UNUSED(oldStatus); diff --git a/src/blackcore/voice_channel.h b/src/blackcore/voice_channel.h index 07d3651bf..f74605d98 100644 --- a/src/blackcore/voice_channel.h +++ b/src/blackcore/voice_channel.h @@ -75,7 +75,8 @@ namespace BlackCore void statusMessage(const BlackMisc::CStatusMessage &message); //! The status of a room has changed. - void connectionStatusChanged(ConnectionStatus oldStatus, ConnectionStatus newStatus); + void connectionStatusChanged(BlackCore::IVoiceChannel::ConnectionStatus oldStatus, + BlackCore::IVoiceChannel::ConnectionStatus newStatus); // Signals about users joining and leaving