Add QObject constructor.
This commit is contained in:
parent
96aa95bebd
commit
3f0c779308
@ -10,7 +10,7 @@ class MacFSListener : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MacFSListener();
|
||||
explicit MacFSListener(QObject* parent = 0);
|
||||
void Init();
|
||||
|
||||
void AddPath(const QString& path);
|
||||
|
@ -6,8 +6,9 @@
|
||||
|
||||
#include "core/logging.h"
|
||||
|
||||
MacFSListener::MacFSListener()
|
||||
: run_loop_(NULL),
|
||||
MacFSListener::MacFSListener(QObject* parent)
|
||||
: QObject(parent),
|
||||
run_loop_(NULL),
|
||||
stream_(NULL) {
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user