diff options
author | Arno <am@disconnect.de> | 2013-09-03 08:16:46 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2013-09-03 08:16:46 +0200 |
commit | 666db6b8c2d7704415946c0a8d69adb3cf5ae7f5 (patch) | |
tree | 16c3072a56baea84227b0874c048e223d485a601 /filesystemwidget.cpp | |
parent | 130e0a3115cd66e38ec57846e06f69e7fd284400 (diff) | |
download | SheMov-666db6b8c2d7704415946c0a8d69adb3cf5ae7f5.tar.gz SheMov-666db6b8c2d7704415946c0a8d69adb3cf5ae7f5.tar.bz2 SheMov-666db6b8c2d7704415946c0a8d69adb3cf5ae7f5.zip |
Introduce Expensive Operations
Add a configuration Option to (de-)select expensive file operations.
That would be md5Summing and gathering the Bitrate/Duration.
That should help the performance on networked directories...
Diffstat (limited to 'filesystemwidget.cpp')
-rw-r--r-- | filesystemwidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/filesystemwidget.cpp b/filesystemwidget.cpp index 64f5ee8..da8acb2 100644 --- a/filesystemwidget.cpp +++ b/filesystemwidget.cpp @@ -343,6 +343,8 @@ void FilesystemWidget::readSettings(){ mDirView->selectionModel()->setCurrentIndex(pidx, QItemSelectionModel::ClearAndSelect); } } + bool expensiveOps = s.value("ui/expensiveops", true).toBool(); + mFileModel->watcher()->setExpensiveOps(expensiveOps); QPoint picViewerPos = s.value("windows/picviewer").toPoint(); mPicViewer->move(picViewerPos); mFileView->readConfig(); |