diff options
Diffstat (limited to 'smdirwatcher.cpp')
-rw-r--r-- | smdirwatcher.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/smdirwatcher.cpp b/smdirwatcher.cpp index 09aead4..9883a85 100644 --- a/smdirwatcher.cpp +++ b/smdirwatcher.cpp @@ -37,15 +37,6 @@ SmDirWatcher::SmDirWatcher(int numFields, QObject *parent) : QThread(parent), mF mCollector->start(); } -SmDirWatcher::~SmDirWatcher(){ - mCollector->terminate(); - mCollector->wait(); - if(mFd && mDescr){ - inotify_rm_watch(mFd, mDescr); - } - delete mINdata; -} - void SmDirWatcher::setDir(const QString &dir){ if(mDescr){ inotify_rm_watch(mFd, mDescr); //generates IN_IGNORE ??? |