diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-07-28 19:40:18 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-07-28 19:48:14 (GMT) |
commit | 865d5e92b80f8a567746775bb0a1d971af1acf8c (patch) | |
tree | 679dc3e32d53c85779ddb6d40f593617cc91e8cd | |
parent | 5c11a736367a854c3c201c31265f96e8153f20f5 (diff) | |
download | Qt-865d5e92b80f8a567746775bb0a1d971af1acf8c.zip Qt-865d5e92b80f8a567746775bb0a1d971af1acf8c.tar.gz Qt-865d5e92b80f8a567746775bb0a1d971af1acf8c.tar.bz2 |
Remove a warning in qdirectfbpaintengine
These structures are only used in versions after 0.922.
Reviewed-by: Donald <qt-info@nokia.com>
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp index 4b76ef6..030e51f 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp @@ -745,6 +745,7 @@ QPixmapData *QDirectFBScreenPrivate::createPixmapData(QPixmapData::PixelType typ return new QDirectFBPixmapData(type); } +#if (Q_DIRECTFB_VERSION >= 0x000923) #ifdef QT_NO_DEBUG struct FlagDescription; static const FlagDescription *accelerationDescriptions = 0; @@ -802,9 +803,6 @@ static const FlagDescription drawDescriptions[] = { }; #endif - - -#if (Q_DIRECTFB_VERSION >= 0x000923) static const QByteArray flagDescriptions(uint mask, const FlagDescription *flags) { #ifdef QT_NO_DEBUG |