Changeset 651 for trunk/src/gui/image/qpixmap_x11.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/gui/image/qpixmap_x11.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 69 69 #include <private/qdrawhelper_p.h> 70 70 #include <private/qimage_p.h> 71 #include <private/qimagepixmapcleanuphooks_p.h> 71 72 72 73 #include <stdlib.h> … … 1229 1230 QX11PixmapData::~QX11PixmapData() 1230 1231 { 1232 // Cleanup hooks have to be called before the handles are freed 1233 if (is_cached) { 1234 QImagePixmapCleanupHooks::executePixmapDataDestructionHooks(this); 1235 is_cached = false; 1236 } 1237 1231 1238 release(); 1232 1239 } … … 1237 1244 pengine = 0; 1238 1245 1239 if (!X11) 1246 if (!X11) { 1247 #ifndef QT_NO_DEBUG 1248 qWarning("~QX11PixmapData(): QPixmap objects must be destroyed before the QApplication" 1249 " object, otherwise the native pixmap object will be leaked."); 1250 #endif 1240 1251 return; 1252 } 1241 1253 1242 1254 if (x11_mask) {
Note:
See TracChangeset
for help on using the changeset viewer.