diff --git a/src/libtomahawk/PlaylistInterface.cpp b/src/libtomahawk/PlaylistInterface.cpp index 7b9c024ca..15a1798e9 100644 --- a/src/libtomahawk/PlaylistInterface.cpp +++ b/src/libtomahawk/PlaylistInterface.cpp @@ -1,5 +1,6 @@ /* === This file is part of Tomahawk Player - === * + * Copyright 2010-2012, Christian Muehlhaeuser * Copyright 2011, Leo Franchi * Copyright 2010-2012, Jeff Mitchell * @@ -18,15 +19,15 @@ */ #include "PlaylistInterface.h" -#include "utils/Logger.h" #include "Result.h" #include "Pipeline.h" #include "Source.h" +#include "utils/Logger.h" using namespace Tomahawk; -PlaylistInterface::PlaylistInterface () +PlaylistInterface::PlaylistInterface() : QObject() , m_latchMode( PlaylistModes::StayOnSong ) , m_finished( false ) diff --git a/src/libtomahawk/PlaylistInterface.h b/src/libtomahawk/PlaylistInterface.h index 9ec7009f9..fd52aa56f 100644 --- a/src/libtomahawk/PlaylistInterface.h +++ b/src/libtomahawk/PlaylistInterface.h @@ -1,6 +1,6 @@ /* === This file is part of Tomahawk Player - === * - * Copyright 2010-2011, Christian Muehlhaeuser + * Copyright 2010-2012, Christian Muehlhaeuser * Copyright 2010-2012, Jeff Mitchell * * Tomahawk is free software: you can redistribute it and/or modify @@ -25,7 +25,6 @@ #include "playlist/PlayableItem.h" #include "Typedefs.h" #include "DllMacro.h" -#include "utils/Logger.h" namespace Tomahawk { @@ -85,7 +84,7 @@ public: //TODO: Get rid of the next two functions once all playlsitinterfaces are factored out // Some playlist interfaces can wrap other interfaces. When checking for top-level // equality (say, to compare the currently playing interface) this might be needed - virtual bool hasChildInterface( Tomahawk::playlistinterface_ptr ) { return false; } + virtual bool hasChildInterface( const Tomahawk::playlistinterface_ptr& ) { return false; } public slots: virtual void setRepeatMode( PlaylistModes::RepeatMode mode ) = 0;