diff --git a/src/libtomahawk/infosystem/infoplugins/musixmatchplugin.cpp b/src/libtomahawk/infosystem/infoplugins/musixmatchplugin.cpp index 58e3ef111..eb60882a4 100644 --- a/src/libtomahawk/infosystem/infoplugins/musixmatchplugin.cpp +++ b/src/libtomahawk/infosystem/infoplugins/musixmatchplugin.cpp @@ -54,7 +54,7 @@ void MusixMatchPlugin::getInfo( const QString caller, const Tomahawk::InfoSystem::InfoType type, const QVariant input, const Tomahawk::InfoSystem::InfoCustomData customData ) { qDebug() << Q_FUNC_INFO; - if( !isValidTrackData(caller, input, customData) || !input.canConvert() || m_nam.isNull() ) + if( !isValidTrackData(caller, input, customData) || !input.canConvert() || m_nam.isNull() || type != Tomahawk::InfoSystem::InfoTrackLyrics ) return; Tomahawk::InfoSystem::InfoCustomData hash = input.value(); QString artist = hash["artistName"].toString(); diff --git a/src/libtomahawk/sip/SipPlugin.cpp b/src/libtomahawk/sip/SipPlugin.cpp index 7f835a0fe..ecf5107a6 100644 --- a/src/libtomahawk/sip/SipPlugin.cpp +++ b/src/libtomahawk/sip/SipPlugin.cpp @@ -79,18 +79,21 @@ SipPlugin::peersOnline() const void SipPlugin::setProxy( const QNetworkProxy& proxy ) { + Q_UNUSED( proxy ); qDebug() << Q_FUNC_INFO << "Not implemented"; } void SipPlugin::onError( int code, const QString& error ) { + Q_UNUSED( code ); m_cachedError = error; } void SipPlugin::onStateChange( SipPlugin::ConnectionState state ) { + Q_UNUSED( state ); m_cachedError.clear(); } diff --git a/src/libtomahawk/sip/sipinfo.cpp b/src/libtomahawk/sip/sipinfo.cpp index 5764376f7..01d2a32ba 100644 --- a/src/libtomahawk/sip/sipinfo.cpp +++ b/src/libtomahawk/sip/sipinfo.cpp @@ -52,7 +52,9 @@ SipInfo::SipInfo() d = new SipInfoPrivate; } -SipInfo::SipInfo(const SipInfo& other): d ( other.d ) +SipInfo::SipInfo(const SipInfo& other) + : QObject() + , d( other.d ) { }