mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
* Style fixes.
This commit is contained in:
parent
2fd6188604
commit
e9b1624659
@ -80,6 +80,7 @@ Playlist::Playlist( const source_ptr& author,
|
||||
init();
|
||||
}
|
||||
|
||||
|
||||
Playlist::Playlist( const source_ptr& author,
|
||||
const QString& guid,
|
||||
const QString& title,
|
||||
@ -112,6 +113,7 @@ Playlist::~Playlist()
|
||||
delete d_ptr;
|
||||
}
|
||||
|
||||
|
||||
QSharedPointer<PlaylistRemovalHandler> Playlist::removalHandler()
|
||||
{
|
||||
if ( s_removalHandler.isNull() )
|
||||
|
@ -231,7 +231,7 @@ SpotifyAccount::hookupResolver()
|
||||
m_spotifyResolver.data()->setIcon( TomahawkUtils::defaultPixmap( TomahawkUtils::SpotifyIcon ) );
|
||||
|
||||
connect( m_spotifyResolver.data(), SIGNAL( changed() ), this, SLOT( resolverChanged() ) );
|
||||
connect( m_spotifyResolver.data(), SIGNAL( customMessage( QString,QVariantMap ) ), this, SLOT( resolverMessage( QString, QVariantMap ) ) );
|
||||
connect( m_spotifyResolver.data(), SIGNAL( customMessage( QString, QVariantMap ) ), this, SLOT( resolverMessage( QString, QVariantMap ) ) );
|
||||
connect( ActionCollection::instance(), SIGNAL( privacyModeChanged() ), SLOT( privateModeChanged() ) );
|
||||
// Always get logged in status
|
||||
QVariantMap msg;
|
||||
|
@ -262,7 +262,6 @@ TreeModel::addCollection( const collection_ptr& collection )
|
||||
connect( collection.data(), SIGNAL( changed() ), SLOT( onCollectionChanged() ), Qt::UniqueConnection );
|
||||
|
||||
setIcon( collection->bigIcon() );
|
||||
|
||||
setTitle( collection->prettyName() );
|
||||
setDescription( collection->description() );
|
||||
}
|
||||
|
@ -132,6 +132,7 @@ JSResolver::icon() const
|
||||
return d->icon;
|
||||
}
|
||||
|
||||
|
||||
unsigned int
|
||||
JSResolver::weight() const
|
||||
{
|
||||
@ -140,6 +141,7 @@ JSResolver::weight() const
|
||||
return d->weight;
|
||||
}
|
||||
|
||||
|
||||
unsigned int
|
||||
JSResolver::timeout() const
|
||||
{
|
||||
@ -239,7 +241,7 @@ JSResolver::init()
|
||||
}
|
||||
|
||||
// add resolver dependencies, if any
|
||||
foreach ( QString s, d->requiredScriptPaths )
|
||||
foreach ( const QString& s, d->requiredScriptPaths )
|
||||
{
|
||||
QFile reqFile( s );
|
||||
if( !reqFile.open( QIODevice::ReadOnly ) )
|
||||
|
@ -906,6 +906,7 @@ urlSetQuery( QUrl& url, const QString& query )
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
QByteArray
|
||||
percentEncode( const QUrl& url )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user