1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 16:44:05 +02:00

* Style fixes.

This commit is contained in:
Christian Muehlhaeuser
2013-09-03 12:35:52 +02:00
parent 1736f82e5b
commit aee0b53992
3 changed files with 4 additions and 3 deletions

View File

@@ -48,7 +48,6 @@ DatabaseResolver::resolve( const Tomahawk::query_ptr& query )
SLOT( gotArtists( Tomahawk::QID, QList< Tomahawk::artist_ptr > ) ), Qt::QueuedConnection ); SLOT( gotArtists( Tomahawk::QID, QList< Tomahawk::artist_ptr > ) ), Qt::QueuedConnection );
Tomahawk::Database::instance()->enqueue( Tomahawk::dbcmd_ptr( cmd ) ); Tomahawk::Database::instance()->enqueue( Tomahawk::dbcmd_ptr( cmd ) );
} }

View File

@@ -426,7 +426,9 @@ JSResolver::tracks( const Tomahawk::collection_ptr& collection, const Tomahawk::
tDebug() << errorMessage << m; tDebug() << errorMessage << m;
} }
bool JSResolver::canParseUrl( const QString& url, UrlType type )
bool
JSResolver::canParseUrl( const QString& url, UrlType type )
{ {
Q_D( JSResolver ); Q_D( JSResolver );

View File

@@ -49,7 +49,7 @@ ScriptEngine::ScriptEngine( JSResolver* parent )
m_header = QWebPage::userAgentForUrl( QUrl() ).replace( QString( "%1/%2" ) m_header = QWebPage::userAgentForUrl( QUrl() ).replace( QString( "%1/%2" )
.arg( TOMAHAWK_APPLICATION_NAME ) .arg( TOMAHAWK_APPLICATION_NAME )
.arg( TOMAHAWK_VERSION ) .arg( TOMAHAWK_VERSION )
,""); , "" );
tLog( LOGVERBOSE ) << "JSResolver Using header" << m_header; tLog( LOGVERBOSE ) << "JSResolver Using header" << m_header;
connect( networkAccessManager(), SIGNAL( sslErrors( QNetworkReply*, QList<QSslError> ) ), connect( networkAccessManager(), SIGNAL( sslErrors( QNetworkReply*, QList<QSslError> ) ),