Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mirall/inotify.cpp')
-rw-r--r--src/mirall/inotify.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mirall/inotify.cpp b/src/mirall/inotify.cpp
index f2b55997c..2064336a3 100644
--- a/src/mirall/inotify.cpp
+++ b/src/mirall/inotify.cpp
@@ -36,7 +36,9 @@
namespace Mirall {
-INotify::INotify(int mask) : _mask(mask)
+INotify::INotify(QObject *parent, int mask)
+ : QObject(parent),
+ _mask(mask)
{
_fd = inotify_init();
_notifier = new QSocketNotifier(_fd, QSocketNotifier::Read);