mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 00:24:12 +02:00
* Various style fixes.
This commit is contained in:
@@ -268,7 +268,6 @@ LastFmConfig::syncLovedTracks( uint page )
|
|||||||
connect( cmd, SIGNAL( done( DatabaseCommand_LoadSocialActions::TrackActions ) ), this, SLOT( localLovedLoaded( DatabaseCommand_LoadSocialActions::TrackActions ) ) );
|
connect( cmd, SIGNAL( done( DatabaseCommand_LoadSocialActions::TrackActions ) ), this, SLOT( localLovedLoaded( DatabaseCommand_LoadSocialActions::TrackActions ) ) );
|
||||||
|
|
||||||
Database::instance()->enqueue( QSharedPointer< DatabaseCommand >( cmd ) );
|
Database::instance()->enqueue( QSharedPointer< DatabaseCommand >( cmd ) );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -305,7 +304,6 @@ LastFmConfig::onLovedFinished( QNetworkReply* reply )
|
|||||||
m_lastfmLoved.insert( query );
|
m_lastfmLoved.insert( query );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ( thisPage == m_totalLovedPages )
|
if ( thisPage == m_totalLovedPages )
|
||||||
{
|
{
|
||||||
m_doneFetchingLoved = true;
|
m_doneFetchingLoved = true;
|
||||||
|
@@ -623,7 +623,7 @@ LastFmInfoPlugin::similarTracksReturned()
|
|||||||
returnedData["artists"] = sortedArtists;
|
returnedData["artists"] = sortedArtists;
|
||||||
returnedData["score"] = sortedScores;
|
returnedData["score"] = sortedScores;
|
||||||
|
|
||||||
qDebug() << "Returning data, tracks:" << sortedTracks << "artists:" << sortedArtists << "scors:" << sortedScores;
|
tDebug( LOGVERBOSE ) << "Returning data, tracks:" << sortedTracks << "artists:" << sortedArtists << "scores:" << sortedScores;
|
||||||
|
|
||||||
Tomahawk::InfoSystem::InfoRequestData requestData = reply->property( "requestData" ).value< Tomahawk::InfoSystem::InfoRequestData >();
|
Tomahawk::InfoSystem::InfoRequestData requestData = reply->property( "requestData" ).value< Tomahawk::InfoSystem::InfoRequestData >();
|
||||||
|
|
||||||
|
@@ -191,7 +191,7 @@ TrackView::setPlaylistItemDelegate( PlaylistItemDelegate* delegate )
|
|||||||
void
|
void
|
||||||
TrackView::setPlayableModel( PlayableModel* model )
|
TrackView::setPlayableModel( PlayableModel* model )
|
||||||
{
|
{
|
||||||
m_model = model;
|
m_model = model;
|
||||||
|
|
||||||
if ( m_proxyModel )
|
if ( m_proxyModel )
|
||||||
{
|
{
|
||||||
|
@@ -181,4 +181,4 @@ void StyleHelper::drawArrow( QStyle::PrimitiveElement element, QPainter* p, cons
|
|||||||
int xOffset = r.x() + ( r.width() - size ) / 2;
|
int xOffset = r.x() + ( r.width() - size ) / 2;
|
||||||
int yOffset = r.y() + ( r.height() - size ) / 2;
|
int yOffset = r.y() + ( r.height() - size ) / 2;
|
||||||
p->drawPixmap( xOffset, yOffset, pixmap );
|
p->drawPixmap( xOffset, yOffset, pixmap );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user