diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2010-02-09 15:10:40 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2010-02-09 15:13:56 (GMT) |
commit | dadfdfaa320aa5951d8512428d59e762b0da79f3 (patch) | |
tree | 6fed85b65b6038f3ff0178c20d8a5090bcca34d7 /src/qt3support/itemviews/q3listview.cpp | |
parent | 3b56735e8d90cb760bf56fc07fbd87e48ca08619 (diff) | |
download | Qt-dadfdfaa320aa5951d8512428d59e762b0da79f3.zip Qt-dadfdfaa320aa5951d8512428d59e762b0da79f3.tar.gz Qt-dadfdfaa320aa5951d8512428d59e762b0da79f3.tar.bz2 |
Fixed some global QIcon/QPixmap instances that leaked handles on X11.
Never ever create global cache objects that deletes QPixmaps when
destructed!
Task-number: QTBUG-8046
Reviewed-by: Friedemann Kleint
Diffstat (limited to 'src/qt3support/itemviews/q3listview.cpp')
-rw-r--r-- | src/qt3support/itemviews/q3listview.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qt3support/itemviews/q3listview.cpp b/src/qt3support/itemviews/q3listview.cpp index 2c15ad0..12dad84 100644 --- a/src/qt3support/itemviews/q3listview.cpp +++ b/src/qt3support/itemviews/q3listview.cpp @@ -70,9 +70,6 @@ QT_BEGIN_NAMESPACE const int Unsorted = 16383; -static Q3CleanupHandler<QBitmap> qlv_cleanup_bitmap; - - struct Q3ListViewPrivate { // classes that are here to avoid polluting the global name space |