From 4fb7eb0da74798205f5cac693c921065492fa33e Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 6 Jan 2016 12:18:40 +0100 Subject: Drop most "#ifndef QT_NO_LIBRARY" As we can load plugins without QLibrary now, we don't have to #ifdef out the code that does so anymore. Change-Id: I1dc20216830a882dbd5a1b431183407e6b19c837 Reviewed-by: Friedemann Kleint Reviewed-by: Thiago Macieira --- src/gui/image/qpicture.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gui/image/qpicture.cpp') diff --git a/src/gui/image/qpicture.cpp b/src/gui/image/qpicture.cpp index 21bdfeff34..7506e2e1a9 100644 --- a/src/gui/image/qpicture.cpp +++ b/src/gui/image/qpicture.cpp @@ -1414,7 +1414,6 @@ Q_GLOBAL_STATIC(QPHList, pictureHandlers) void qt_init_picture_plugins() { -#ifndef QT_NO_LIBRARY typedef QMultiMap PluginKeyMap; typedef PluginKeyMap::const_iterator PluginKeyMapConstIterator; @@ -1429,7 +1428,6 @@ void qt_init_picture_plugins() if (QPictureFormatPlugin *format = qobject_cast(loader.instance(it.key()))) format->installIOHandler(it.value()); } -#endif } static void cleanup() -- cgit v1.2.3