mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 09:04:33 +02:00
Warnings--
This commit is contained in:
@@ -54,7 +54,7 @@ void
|
|||||||
MusixMatchPlugin::getInfo( const QString caller, const Tomahawk::InfoSystem::InfoType type, const QVariant input, const Tomahawk::InfoSystem::InfoCustomData customData )
|
MusixMatchPlugin::getInfo( const QString caller, const Tomahawk::InfoSystem::InfoType type, const QVariant input, const Tomahawk::InfoSystem::InfoCustomData customData )
|
||||||
{
|
{
|
||||||
qDebug() << Q_FUNC_INFO;
|
qDebug() << Q_FUNC_INFO;
|
||||||
if( !isValidTrackData(caller, input, customData) || !input.canConvert<Tomahawk::InfoSystem::InfoCustomData>() || m_nam.isNull() )
|
if( !isValidTrackData(caller, input, customData) || !input.canConvert<Tomahawk::InfoSystem::InfoCustomData>() || m_nam.isNull() || type != Tomahawk::InfoSystem::InfoTrackLyrics )
|
||||||
return;
|
return;
|
||||||
Tomahawk::InfoSystem::InfoCustomData hash = input.value<Tomahawk::InfoSystem::InfoCustomData>();
|
Tomahawk::InfoSystem::InfoCustomData hash = input.value<Tomahawk::InfoSystem::InfoCustomData>();
|
||||||
QString artist = hash["artistName"].toString();
|
QString artist = hash["artistName"].toString();
|
||||||
|
@@ -79,18 +79,21 @@ SipPlugin::peersOnline() const
|
|||||||
void
|
void
|
||||||
SipPlugin::setProxy( const QNetworkProxy& proxy )
|
SipPlugin::setProxy( const QNetworkProxy& proxy )
|
||||||
{
|
{
|
||||||
|
Q_UNUSED( proxy );
|
||||||
qDebug() << Q_FUNC_INFO << "Not implemented";
|
qDebug() << Q_FUNC_INFO << "Not implemented";
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
SipPlugin::onError( int code, const QString& error )
|
SipPlugin::onError( int code, const QString& error )
|
||||||
{
|
{
|
||||||
|
Q_UNUSED( code );
|
||||||
m_cachedError = error;
|
m_cachedError = error;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
SipPlugin::onStateChange( SipPlugin::ConnectionState state )
|
SipPlugin::onStateChange( SipPlugin::ConnectionState state )
|
||||||
{
|
{
|
||||||
|
Q_UNUSED( state );
|
||||||
m_cachedError.clear();
|
m_cachedError.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -52,7 +52,9 @@ SipInfo::SipInfo()
|
|||||||
d = new SipInfoPrivate;
|
d = new SipInfoPrivate;
|
||||||
}
|
}
|
||||||
|
|
||||||
SipInfo::SipInfo(const SipInfo& other): d ( other.d )
|
SipInfo::SipInfo(const SipInfo& other)
|
||||||
|
: QObject()
|
||||||
|
, d( other.d )
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user