From fa17037f24ec8ced526effb8226f8c27da04cfbb Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 6 Feb 2016 06:52:22 +0100 Subject: Remove IN_MODIFY from inotify mask When copying a file to a watched directory, this leads to excessive inotify events. I'm guessing that's the source for the deadlock when encoding files on othalla. Anyway, it's worth a try. Also remove a stray qApp->processEvents() --- filesystemwidget.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'filesystemwidget.cpp') diff --git a/filesystemwidget.cpp b/filesystemwidget.cpp index 07e058d..a03b6f0 100644 --- a/filesystemwidget.cpp +++ b/filesystemwidget.cpp @@ -272,7 +272,6 @@ void FilesystemWidget::deleteFiles(){ qApp->setOverrideCursor(Qt::WaitCursor); TimerHandler h(mFileModel->refreshTimer()); WatcherHandler wh(mFileModel->watcher()); - qApp->processEvents(); qApp->restoreOverrideCursor(); QModelIndexList selected = mFileView->selectionModel()->selectedRows(); if(selected.isEmpty()){ -- cgit v1.2.3-70-g09d2