mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-30 09:10:53 +02:00
Minor cleanups
This commit is contained in:
@@ -18,16 +18,18 @@
|
||||
|
||||
#include "DatabaseCommand_LoadAllSources.h"
|
||||
|
||||
#include <QSqlQuery>
|
||||
|
||||
#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 )
|
||||
{
|
||||
|
@@ -16,6 +16,7 @@
|
||||
* along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#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
|
||||
|
Reference in New Issue
Block a user