mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-02 02:26:44 +01:00
Fix PlaylistGenerator::type()
This commit is contained in:
parent
d181ee9101
commit
39792d76cf
@ -44,7 +44,7 @@ class SmartPlaylistQueryWizardPlugin : public SmartPlaylistWizardPlugin {
|
||||
explicit SmartPlaylistQueryWizardPlugin(Application *app, CollectionBackend *collection, QObject *parent);
|
||||
~SmartPlaylistQueryWizardPlugin();
|
||||
|
||||
QString type() const { return "Query"; }
|
||||
PlaylistGenerator::Type type() const { return PlaylistGenerator::Type_Query; }
|
||||
QString name() const;
|
||||
QString description() const;
|
||||
bool is_dynamic() const { return true; }
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "playlistgenerator_fwd.h"
|
||||
#include "playlistgenerator.h"
|
||||
|
||||
class QWizard;
|
||||
|
||||
@ -36,7 +36,7 @@ class SmartPlaylistWizardPlugin : public QObject {
|
||||
public:
|
||||
explicit SmartPlaylistWizardPlugin(Application *app, CollectionBackend *collection, QObject *parent);
|
||||
|
||||
virtual QString type() const = 0;
|
||||
virtual PlaylistGenerator::Type type() const = 0;
|
||||
virtual QString name() const = 0;
|
||||
virtual QString description() const = 0;
|
||||
virtual bool is_dynamic() const { return false; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user