From: Peter Penz Date: Sat, 13 Aug 2011 11:09:02 +0000 (+0200) Subject: Add a TODO-proposal for a cleaner solution of the PendingThreadsMaintainer X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/917619f52a74f50889f5a0c66c47d3942cf2d9cc Add a TODO-proposal for a cleaner solution of the PendingThreadsMaintainer Thanks to Andre Wöbbeking for giving me a pointer to fix this ;-) CCMAIL: woebbeking@kde.org --- diff --git a/src/views/versioncontrol/pendingthreadsmaintainer.h b/src/views/versioncontrol/pendingthreadsmaintainer.h index 3e99c8657..63a198b8d 100644 --- a/src/views/versioncontrol/pendingthreadsmaintainer.h +++ b/src/views/versioncontrol/pendingthreadsmaintainer.h @@ -27,6 +27,11 @@ class QTimer; /** + * TODO: Replace the PendingThreadMaintainer by a kind of + * VersionControlThreadFactory that is responsible for creating + * and deleting the threads. This would bypass the hack to poll + * for for pending threads. + * * If the creator of a thread gets deleted, although the thread is still * working, usually QThread::wait() is invoked. The drawback of this * approach is that the user interface gets blocked for an undefined amount