summaryrefslogtreecommitdiffstats
path: root/filesystemwidget.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-09-03 08:16:46 +0200
committerArno <am@disconnect.de>2013-09-03 08:16:46 +0200
commit666db6b8c2d7704415946c0a8d69adb3cf5ae7f5 (patch)
tree16c3072a56baea84227b0874c048e223d485a601 /filesystemwidget.cpp
parent130e0a3115cd66e38ec57846e06f69e7fd284400 (diff)
downloadSheMov-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.cpp2
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();