Add default parameters to MPRIS constructors.
This commit is contained in:
parent
bde7902686
commit
3f923d2cb1
|
@ -79,7 +79,7 @@ class Mpris1 : public QObject {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Mpris1(Player* player, ArtLoader* art_loader, QObject* parent);
|
||||
Mpris1(Player* player, ArtLoader* art_loader, QObject* parent = 0);
|
||||
|
||||
static QVariantMap GetMetadata(const Song& song);
|
||||
|
||||
|
|
|
@ -72,9 +72,7 @@ class Mpris2 : public QObject {
|
|||
Q_PROPERTY( bool CanEditTracks READ CanEditTracks )
|
||||
|
||||
public:
|
||||
Mpris2(Player* player, ArtLoader* art_loader,
|
||||
Mpris1* mpris1, QObject* parent);
|
||||
|
||||
Mpris2(Player* player, ArtLoader* art_loader, Mpris1* mpris1, QObject* parent = 0);
|
||||
// Root Properties
|
||||
bool CanQuit() const;
|
||||
bool CanRaise() const;
|
||||
|
|
|
@ -39,7 +39,7 @@ class ArtLoader : public QObject {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ArtLoader(QObject* parent);
|
||||
ArtLoader(QObject* parent = 0);
|
||||
~ArtLoader();
|
||||
|
||||
public slots:
|
||||
|
|
Loading…
Reference in New Issue