From 130e0a3115cd66e38ec57846e06f69e7fd284400 Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 3 Sep 2013 06:12:33 +0200 Subject: 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...) --- shemov.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shemov.pro') 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 \ -- cgit v1.2.3-70-g09d2