summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-08-11 00:03:24 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-11 22:35:37 +0200
commitd370b365daff7d3fa9927559ddfbb17a2d5f3e29 (patch)
tree31e749ae6e90157ddd1c1a99fa4b74b28a7b6ab2 /src/gui/image
parent952d06f7d6cb8ad2b84b0d80bce936abdd0be196 (diff)
QImage{Reader,Writer}: remove unused local typedef (GCC 4.8 warning)
GCC 4.8 warns: warning: typedef ‘PluginKeyMapConstIterator’ locally defined but not used [-Wunused-local-typedefs] Change-Id: I0225708b590ac3d72ab3cb8f61e686091c187053 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qimagereader.cpp1
-rw-r--r--src/gui/image/qimagewriter.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/image/qimagereader.cpp b/src/gui/image/qimagereader.cpp
index 67a23dfaff..5395b4e9c9 100644
--- a/src/gui/image/qimagereader.cpp
+++ b/src/gui/image/qimagereader.cpp
@@ -226,7 +226,6 @@ static QImageIOHandler *createReadHandlerHelper(QIODevice *device,
#ifndef QT_NO_LIBRARY
typedef QMultiMap<int, QString> PluginKeyMap;
- typedef PluginKeyMap::const_iterator PluginKeyMapConstIterator;
// check if we have plugins that support the image format
QFactoryLoader *l = loader();
diff --git a/src/gui/image/qimagewriter.cpp b/src/gui/image/qimagewriter.cpp
index ef946277f1..b9c3387d0c 100644
--- a/src/gui/image/qimagewriter.cpp
+++ b/src/gui/image/qimagewriter.cpp
@@ -138,7 +138,6 @@ static QImageIOHandler *createWriteHandlerHelper(QIODevice *device,
#ifndef QT_NO_LIBRARY
typedef QMultiMap<int, QString> PluginKeyMap;
- typedef PluginKeyMap::const_iterator PluginKeyMapConstIterator;
// check if any plugins can write the image
QFactoryLoader *l = loader();