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>
This commit is contained in:
parent
952d06f7d6
commit
d370b365da
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user