mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-06 14:13:49 +01:00
Add QObject constructor.
(cherry picked from commit 3f0c779308cfa5cca5193c740d3057a23ddcec25)
This commit is contained in:
parent
4a13d0ce29
commit
3c867fb05c
@ -10,7 +10,7 @@ class MacFSListener : public QObject {
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MacFSListener();
|
explicit MacFSListener(QObject* parent = 0);
|
||||||
void Init();
|
void Init();
|
||||||
|
|
||||||
void AddPath(const QString& path);
|
void AddPath(const QString& path);
|
||||||
|
@ -6,8 +6,9 @@
|
|||||||
|
|
||||||
#include "core/logging.h"
|
#include "core/logging.h"
|
||||||
|
|
||||||
MacFSListener::MacFSListener()
|
MacFSListener::MacFSListener(QObject* parent)
|
||||||
: run_loop_(NULL),
|
: QObject(parent),
|
||||||
|
run_loop_(NULL),
|
||||||
stream_(NULL) {
|
stream_(NULL) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user