mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-20 07:52:30 +02:00
Style fix
This commit is contained in:
parent
71859ed91e
commit
ee73e502a5
@ -129,7 +129,7 @@ DropJob::acceptsMimeData( const QMimeData* data, DropJob::DropTypes acceptedType
|
||||
if ( url.contains( "spotify" ) && url.contains( "playlist" ) && s_canParseSpotifyPlaylists )
|
||||
return true;
|
||||
|
||||
if( url.contains( "soundcloud" ) && url.contains("sets") )
|
||||
if( url.contains( "soundcloud" ) && url.contains( "sets" ) )
|
||||
return true;
|
||||
|
||||
if ( url.contains( "grooveshark.com" ) && url.contains( "playlist" ) )
|
||||
|
@ -76,7 +76,7 @@ SoundcloudParser::lookupUrl( const QString& link )
|
||||
QUrl scLink( QString( "http://api.soundcloud.com/resolve.json?client_id=TiNg2DRYhBnp01DA3zNag&url=" ) + link );
|
||||
qDebug() << scLink.toString();
|
||||
QNetworkReply* reply = TomahawkUtils::nam()->get( QNetworkRequest( scLink ) );
|
||||
connect( reply, SIGNAL( finished() ), this, SLOT( SoundcloudBrowseFinished() ) );
|
||||
connect( reply, SIGNAL( finished() ), this, SLOT( soundcloudBrowseFinished() ) );
|
||||
|
||||
m_browseJob = new DropJobNotifier( pixmap(), "Soundcloud", DropJob::All, reply );
|
||||
JobStatusView::instance()->model()->addJob( m_browseJob );
|
||||
@ -218,7 +218,7 @@ SoundcloudParser::SoundcloudBrowseFinished()
|
||||
if( m_type != DropJob::All )
|
||||
{
|
||||
QNetworkReply* reply = TomahawkUtils::nam()->get( QNetworkRequest( QUrl(url) ) );
|
||||
connect( reply, SIGNAL( finished() ), this, SLOT( SoundcloudLookupFinished() ) );
|
||||
connect( reply, SIGNAL( finished() ), this, SLOT( soundcloudLookupFinished() ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -65,8 +65,8 @@ signals:
|
||||
void playlist( const Tomahawk::query_ptr& playlist );
|
||||
|
||||
private slots:
|
||||
void SoundcloudBrowseFinished();
|
||||
void SoundcloudLookupFinished();
|
||||
void soundcloudBrowseFinished();
|
||||
void soundcloudLookupFinished();
|
||||
void playlistCreated();
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user