summaryrefslogtreecommitdiffstats
path: root/src/tools/qglist.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-04-22 21:25:32 -0500
committerTimothy Pearson <[email protected]>2013-04-22 21:25:32 -0500
commit83d39cad274f592a43a3262926d215493caea0bc (patch)
tree05fefa97bd40200c6b7a1a184cd4df2610cc1091 /src/tools/qglist.h
parent7abfc2a181531c769d50bcb1c0bff1fc08c66de2 (diff)
downloadqt3-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.h8
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;
};