Add default parameters to MPRIS constructors.

This commit is contained in:
John Maguire 2011-01-04 11:53:37 +00:00
parent bde7902686
commit 3f923d2cb1
3 changed files with 3 additions and 5 deletions

View File

@ -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);

View File

@ -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;

View File

@ -39,7 +39,7 @@ class ArtLoader : public QObject {
Q_OBJECT
public:
ArtLoader(QObject* parent);
ArtLoader(QObject* parent = 0);
~ArtLoader();
public slots: