diff --git a/src/libtomahawk/database/DatabaseCommand_LoadAllSources.cpp b/src/libtomahawk/database/DatabaseCommand_LoadAllSources.cpp index 32fd9dc6c..374cd4edb 100644 --- a/src/libtomahawk/database/DatabaseCommand_LoadAllSources.cpp +++ b/src/libtomahawk/database/DatabaseCommand_LoadAllSources.cpp @@ -18,16 +18,18 @@ #include "DatabaseCommand_LoadAllSources.h" -#include - -#include "network/Servent.h" -#include "SourceList.h" #include "DatabaseImpl.h" -#include "utils/Logger.h" +#include "Source.h" using namespace Tomahawk; +DatabaseCommand_LoadAllSources::DatabaseCommand_LoadAllSources( QObject* parent ) + : DatabaseCommand( parent ) +{ +} + + void DatabaseCommand_LoadAllSources::exec( DatabaseImpl* dbi ) { diff --git a/src/libtomahawk/database/DatabaseCommand_LoadAllSources.h b/src/libtomahawk/database/DatabaseCommand_LoadAllSources.h index 802526fdb..983245cee 100644 --- a/src/libtomahawk/database/DatabaseCommand_LoadAllSources.h +++ b/src/libtomahawk/database/DatabaseCommand_LoadAllSources.h @@ -16,6 +16,7 @@ * along with Tomahawk. If not, see . */ +#pragma once #ifndef DATABASECOMMAND_LOADALLSOURCES_H #define DATABASECOMMAND_LOADALLSOURCES_H @@ -35,9 +36,7 @@ class DLLEXPORT DatabaseCommand_LoadAllSources : public DatabaseCommand Q_OBJECT public: - explicit DatabaseCommand_LoadAllSources( QObject* parent = 0 ) - : DatabaseCommand( parent ) - {} + explicit DatabaseCommand_LoadAllSources( QObject* parent = 0 ); virtual void exec( DatabaseImpl* ); virtual bool doesMutates() const { return false; } @@ -47,6 +46,6 @@ signals: void done( const QList< Tomahawk::source_ptr >& sources ); }; -} +} // namespace Tomahawk #endif // DATABASECOMMAND_LOADALLSOURCES_H