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:
@@ -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 ) );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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 );
|
||||||
|
|
||||||
|
@@ -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> ) ),
|
||||||
|
Reference in New Issue
Block a user