summaryrefslogtreecommitdiffstats
path: root/shemov.pro
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-09-03 06:12:33 +0200
committerArno <am@disconnect.de>2013-09-03 06:12:33 +0200
commit130e0a3115cd66e38ec57846e06f69e7fd284400 (patch)
treedd2a1cd7eaa32d1f515ec45bdc009e7cbbb354aa /shemov.pro
parent3f0a819948d36d06f1ddf07e5a51ff771ddda4da (diff)
downloadSheMov-130e0a3115cd66e38ec57846e06f69e7fd284400.tar.gz
SheMov-130e0a3115cd66e38ec57846e06f69e7fd284400.tar.bz2
SheMov-130e0a3115cd66e38ec57846e06f69e7fd284400.zip
Switch to QRunnable + QThreadPool
Get rid of SmDataCollector and do its job in small, QRunnable tasks and let QThreadPool manage the treads. Works well with a local Filesystem. Yet to see how it works over networked Filesystems. Ah, before I forget: NEVER, EVER USE QPixmap in THREADS -> Random crashes! (Yes, I know, it's documented...)
Diffstat (limited to 'shemov.pro')
-rw-r--r--shemov.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/shemov.pro b/shemov.pro
index e909328..90ccd98 100644
--- a/shemov.pro
+++ b/shemov.pro
@@ -4,7 +4,7 @@ CONFIG += warn_on \
qt \
debug
CONFIG -= release
-QT += core gui widgets sql
+QT += core gui widgets sql concurrent
SOURCES = main.cpp \
filesystemdirproxy.cpp \
filesystemwidget.cpp \