1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-02-06 06:03:23 +01:00

Add QObject constructor.

(cherry picked from commit 3f0c779308cfa5cca5193c740d3057a23ddcec25)
This commit is contained in:
John Maguire 2012-01-04 15:26:22 +00:00 committed by David Sansome
parent 4a13d0ce29
commit 3c867fb05c
2 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@ class MacFSListener : public QObject {
Q_OBJECT
public:
MacFSListener();
explicit MacFSListener(QObject* parent = 0);
void Init();
void AddPath(const QString& path);

View File

@ -6,8 +6,9 @@
#include "core/logging.h"
MacFSListener::MacFSListener()
: run_loop_(NULL),
MacFSListener::MacFSListener(QObject* parent)
: QObject(parent),
run_loop_(NULL),
stream_(NULL) {
}