From 917619f52a74f50889f5a0c66c47d3942cf2d9cc Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 13 Aug 2011 13:09:02 +0200 Subject: Add a TODO-proposal for a cleaner solution of the PendingThreadsMaintainer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Andre Wöbbeking for giving me a pointer to fix this ;-) CCMAIL: woebbeking@kde.org --- src/views/versioncontrol/pendingthreadsmaintainer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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 -- cgit v1.3