summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-06-18 00:31:23 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-06-18 00:31:23 (GMT)
commit7d6da125cb94f70f2b14b60c87ded71876e28149 (patch)
treeaf041c9630adba73a37872618e1c21b59778bb77 /src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
parentf5d119bf15e248634ef02437ffd9b77755262f00 (diff)
downloadQt-7d6da125cb94f70f2b14b60c87ded71876e28149.zip
Qt-7d6da125cb94f70f2b14b60c87ded71876e28149.tar.gz
Qt-7d6da125cb94f70f2b14b60c87ded71876e28149.tar.bz2
Fix a couple of issues after QPixmapData optims
Make sure we always set w, h and d. See fa8030a935acaacee570eee320e7510a4cfdc853 Reviewed-by: TrustMe
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
index 5d89994..62fef5b 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
@@ -751,12 +751,7 @@ QPixmapData *QDirectFBScreenPrivate::createPixmapData(QPixmapData::PixelType typ
return new QDirectFBPixmapData(type);
}
-#ifdef QT_NO_DEBUG
-struct FlagDescription;
-static const FlagDescription *accelerationDescriptions = 0;
-static const FlagDescription *blitDescriptions = 0;
-static const FlagDescription *drawDescriptions = 0;
-#else
+#ifndef QT_NO_DEBUG
struct FlagDescription {
const char *name;
uint flag;