1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-07 06:36:55 +02:00

* Style cleanup.

This commit is contained in:
Christian Muehlhaeuser
2012-05-20 15:43:53 +02:00
parent 5a8b32691e
commit 717b04623f
2 changed files with 6 additions and 1 deletions

View File

@@ -39,6 +39,7 @@
using namespace Tomahawk; using namespace Tomahawk;
SocialAction::SocialAction() {} SocialAction::SocialAction() {}
SocialAction::~SocialAction() {} SocialAction::~SocialAction() {}
@@ -52,11 +53,13 @@ SocialAction& SocialAction::operator=( const SocialAction& other )
return *this; return *this;
} }
SocialAction::SocialAction( const SocialAction& other ) SocialAction::SocialAction( const SocialAction& other )
{ {
*this = other; *this = other;
} }
PlaybackLog::PlaybackLog() {} PlaybackLog::PlaybackLog() {}
PlaybackLog::~PlaybackLog() {} PlaybackLog::~PlaybackLog() {}
@@ -69,11 +72,13 @@ PlaybackLog& PlaybackLog::operator=( const PlaybackLog& other )
return *this; return *this;
} }
PlaybackLog::PlaybackLog( const PlaybackLog& other ) PlaybackLog::PlaybackLog( const PlaybackLog& other )
{ {
*this = other; *this = other;
} }
query_ptr query_ptr
Query::get( const QString& artist, const QString& track, const QString& album, const QID& qid, bool autoResolve ) Query::get( const QString& artist, const QString& track, const QString& album, const QID& qid, bool autoResolve )
{ {

View File

@@ -183,7 +183,7 @@ Result::toVariant() const
QString QString
Result::toString() const Result::toString() const
{ {
return QString( "Result(%1 %2\t%3 - %4 %5" ).arg( id() ).arg( score() ).arg( artist().isNull() ? QString() : artist()->name() ).arg( track() ).arg( url() ); return QString( "Result(%1) %2\t%3 - %4 %5" ).arg( id() ).arg( score() ).arg( artist().isNull() ? QString() : artist()->name() ).arg( track() ).arg( url() );
} }