diff options
| author | Arno <am@disconnect.de> | 2013-09-03 06:12:33 +0200 |
|---|---|---|
| committer | Arno <am@disconnect.de> | 2013-09-03 06:12:33 +0200 |
| commit | 130e0a3115cd66e38ec57846e06f69e7fd284400 (patch) | |
| tree | dd2a1cd7eaa32d1f515ec45bdc009e7cbbb354aa /shemov.pro | |
| parent | 3f0a819948d36d06f1ddf07e5a51ff771ddda4da (diff) | |
| download | SheMov-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.pro | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 \ |
