Commit 87a3fc6e authored by Laurent Montel's avatar Laurent Montel 😁

Debug--

parent a19e140b
......@@ -91,7 +91,6 @@ bool EditorWatcher::start()
mInotifyFd = inotify_init();
if ( mInotifyFd > 0 ) {
(void)fcntl(mInotifyFd, F_SETFD, FD_CLOEXEC);
qDebug()<<" mUrl.path().toLatin1()"<<mUrl.path().toLatin1();
mInotifyWatch = inotify_add_watch( mInotifyFd, mUrl.path().toLatin1(), IN_CLOSE | IN_OPEN | IN_MODIFY | IN_ATTRIB );
if ( mInotifyWatch >= 0 ) {
QSocketNotifier *sn = new QSocketNotifier( mInotifyFd, QSocketNotifier::Read, this );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment