From 83d39cad274f592a43a3262926d215493caea0bc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 22 Apr 2013 21:25:32 -0500 Subject: Fix a number of threading problems and crashes This partially resolves Bug 1467 --- src/tools/qglist.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/tools/qglist.h') diff --git a/src/tools/qglist.h b/src/tools/qglist.h index fadc46c..dfacf47 100644 --- a/src/tools/qglist.h +++ b/src/tools/qglist.h @@ -59,6 +59,8 @@ private: QLNode( QPtrCollection::Item d ) { data = d; } }; +class QMutex; +class QGListPrivate; class QGListIteratorList; // internal helper class class Q_EXPORT QGList : public QPtrCollection // doubly linked generic list @@ -147,6 +149,12 @@ private: QLNode *locate( uint ); // get node at i'th pos QLNode *unlink(); // unlink node + +#if defined(QT_THREAD_SUPPORT) +// QMutex* mutex; +#endif + +// QGListPrivate* d; }; -- cgit v1.2.1