diff options
author | Timothy Pearson <[email protected]> | 2013-04-22 21:25:32 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-04-22 21:25:32 -0500 |
commit | 83d39cad274f592a43a3262926d215493caea0bc (patch) | |
tree | 05fefa97bd40200c6b7a1a184cd4df2610cc1091 /src/tools/qglist.h | |
parent | 7abfc2a181531c769d50bcb1c0bff1fc08c66de2 (diff) | |
download | qt3-83d39cad274f592a43a3262926d215493caea0bc.tar.gz qt3-83d39cad274f592a43a3262926d215493caea0bc.zip |
Fix a number of threading problems and crashes
This partially resolves Bug 1467
Diffstat (limited to 'src/tools/qglist.h')
-rw-r--r-- | src/tools/qglist.h | 8 |
1 files changed, 8 insertions, 0 deletions
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; }; |