From 717b04623fbf578490c638f212c427fd5712316d Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sun, 20 May 2012 15:43:53 +0200 Subject: [PATCH] * Style cleanup. --- src/libtomahawk/Query.cpp | 5 +++++ src/libtomahawk/Result.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/Query.cpp b/src/libtomahawk/Query.cpp index 576a3d462..94cd4a140 100644 --- a/src/libtomahawk/Query.cpp +++ b/src/libtomahawk/Query.cpp @@ -39,6 +39,7 @@ using namespace Tomahawk; + SocialAction::SocialAction() {} SocialAction::~SocialAction() {} @@ -52,11 +53,13 @@ SocialAction& SocialAction::operator=( const SocialAction& other ) return *this; } + SocialAction::SocialAction( const SocialAction& other ) { *this = other; } + PlaybackLog::PlaybackLog() {} PlaybackLog::~PlaybackLog() {} @@ -69,11 +72,13 @@ PlaybackLog& PlaybackLog::operator=( const PlaybackLog& other ) return *this; } + PlaybackLog::PlaybackLog( const PlaybackLog& other ) { *this = other; } + query_ptr Query::get( const QString& artist, const QString& track, const QString& album, const QID& qid, bool autoResolve ) { diff --git a/src/libtomahawk/Result.cpp b/src/libtomahawk/Result.cpp index be508d0a2..c3ceaddcf 100644 --- a/src/libtomahawk/Result.cpp +++ b/src/libtomahawk/Result.cpp @@ -183,7 +183,7 @@ Result::toVariant() const QString 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() ); }