From 819b0eb0ada5d27e5076e1d244c39f1ec001a69e Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Mon, 8 Jul 2013 15:46:42 +0200 Subject: [PATCH] Fix minor nitpicks --- src/libtomahawk/playlist/PlaylistTemplate.cpp | 4 +++- src/libtomahawk/resolvers/ExternalResolver.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/PlaylistTemplate.cpp b/src/libtomahawk/playlist/PlaylistTemplate.cpp index b14c8f8a5..c3468815f 100644 --- a/src/libtomahawk/playlist/PlaylistTemplate.cpp +++ b/src/libtomahawk/playlist/PlaylistTemplate.cpp @@ -54,7 +54,9 @@ Tomahawk::PlaylistTemplate::get() return d->playlist; } -QList Tomahawk::PlaylistTemplate::tracks() const + +QList +Tomahawk::PlaylistTemplate::tracks() const { Q_D( const PlaylistTemplate ); diff --git a/src/libtomahawk/resolvers/ExternalResolver.h b/src/libtomahawk/resolvers/ExternalResolver.h index 5ff500c03..0aafe38b2 100644 --- a/src/libtomahawk/resolvers/ExternalResolver.h +++ b/src/libtomahawk/resolvers/ExternalResolver.h @@ -82,6 +82,8 @@ public: Album = 0x04, Artist = 0x08 }; + Q_DECLARE_FLAGS( UrlTypes, UrlType ) + Q_FLAGS( UrlTypes ) ExternalResolver( const QString& filePath ) : m_commandQueue( new ScriptCommandQueue( this ) )