1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-07 06:36:55 +02:00

Remove unused references to Private

This commit is contained in:
Uwe L. Korn
2014-11-22 23:25:53 +01:00
parent f48d07c77f
commit 1625e7a0ed

View File

@@ -311,8 +311,6 @@ JSResolver::start()
void void
JSResolver::artists( const Tomahawk::collection_ptr& collection ) JSResolver::artists( const Tomahawk::collection_ptr& collection )
{ {
Q_D( JSResolver );
if ( QThread::currentThread() != thread() ) if ( QThread::currentThread() != thread() )
{ {
QMetaObject::invokeMethod( this, "artists", Qt::QueuedConnection, Q_ARG( Tomahawk::collection_ptr, collection ) ); QMetaObject::invokeMethod( this, "artists", Qt::QueuedConnection, Q_ARG( Tomahawk::collection_ptr, collection ) );
@@ -345,8 +343,6 @@ JSResolver::artists( const Tomahawk::collection_ptr& collection )
void void
JSResolver::albums( const Tomahawk::collection_ptr& collection, const Tomahawk::artist_ptr& artist ) JSResolver::albums( const Tomahawk::collection_ptr& collection, const Tomahawk::artist_ptr& artist )
{ {
Q_D( JSResolver );
if ( QThread::currentThread() != thread() ) if ( QThread::currentThread() != thread() )
{ {
QMetaObject::invokeMethod( this, "albums", Qt::QueuedConnection, QMetaObject::invokeMethod( this, "albums", Qt::QueuedConnection,
@@ -382,8 +378,6 @@ JSResolver::albums( const Tomahawk::collection_ptr& collection, const Tomahawk::
void void
JSResolver::tracks( const Tomahawk::collection_ptr& collection, const Tomahawk::album_ptr& album ) JSResolver::tracks( const Tomahawk::collection_ptr& collection, const Tomahawk::album_ptr& album )
{ {
Q_D( JSResolver );
if ( QThread::currentThread() != thread() ) if ( QThread::currentThread() != thread() )
{ {
QMetaObject::invokeMethod( this, "tracks", Qt::QueuedConnection, QMetaObject::invokeMethod( this, "tracks", Qt::QueuedConnection,
@@ -448,8 +442,6 @@ JSResolver::canParseUrl( const QString& url, UrlType type )
void void
JSResolver::lookupUrl( const QString& url ) JSResolver::lookupUrl( const QString& url )
{ {
Q_D( JSResolver );
if ( QThread::currentThread() != thread() ) if ( QThread::currentThread() != thread() )
{ {
QMetaObject::invokeMethod( this, "lookupUrl", Qt::QueuedConnection, QMetaObject::invokeMethod( this, "lookupUrl", Qt::QueuedConnection,
@@ -491,8 +483,6 @@ JSResolver::evaluateJavaScriptInternal(const QString& scriptSource)
void void
JSResolver::evaluateJavaScript( const QString& scriptSource ) JSResolver::evaluateJavaScript( const QString& scriptSource )
{ {
Q_D( JSResolver );
if ( QThread::currentThread() != thread() ) if ( QThread::currentThread() != thread() )
{ {
QMetaObject::invokeMethod( this, "evaluateJavaScript", Qt::QueuedConnection, Q_ARG( QString, scriptSource ) ); QMetaObject::invokeMethod( this, "evaluateJavaScript", Qt::QueuedConnection, Q_ARG( QString, scriptSource ) );
@@ -524,8 +514,6 @@ JSResolver::error() const
void void
JSResolver::resolve( const Tomahawk::query_ptr& query ) JSResolver::resolve( const Tomahawk::query_ptr& query )
{ {
Q_D( JSResolver );
if ( QThread::currentThread() != thread() ) if ( QThread::currentThread() != thread() )
{ {
QMetaObject::invokeMethod( this, "resolve", Qt::QueuedConnection, Q_ARG(Tomahawk::query_ptr, query) ); QMetaObject::invokeMethod( this, "resolve", Qt::QueuedConnection, Q_ARG(Tomahawk::query_ptr, query) );
@@ -937,8 +925,6 @@ JSResolver::onCollectionIconFetched()
QVariantMap QVariantMap
JSResolver::resolverSettings() JSResolver::resolverSettings()
{ {
Q_D( JSResolver );
return callOnResolver( "settings" ).toMap(); return callOnResolver( "settings" ).toMap();
} }
@@ -946,8 +932,6 @@ JSResolver::resolverSettings()
QVariantMap QVariantMap
JSResolver::resolverUserConfig() JSResolver::resolverUserConfig()
{ {
Q_D( JSResolver );
return callOnResolver( "getUserConfig()" ).toMap(); return callOnResolver( "getUserConfig()" ).toMap();
} }
@@ -955,8 +939,6 @@ JSResolver::resolverUserConfig()
QVariantMap QVariantMap
JSResolver::resolverInit() JSResolver::resolverInit()
{ {
Q_D( JSResolver );
return callOnResolver( "init()" ).toMap(); return callOnResolver( "init()" ).toMap();
} }