Add missing include when enabling deprecated code
authorOlivier Goffart <ogoffart@kde.org>
Fri, 28 Oct 2011 07:14:01 +0000 (09:14 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 31 Oct 2011 10:36:42 +0000 (11:36 +0100)
QStringList is used by the inline code.
(I did not see that before because I was using precompiled headers)

Change-Id: Ieea4f13c143495f841b5246d835b584cc7404ac6
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/image/qimage.h

index 6f070bc..a18d810 100644 (file)
 #include <QtCore/qrect.h>
 #include <QtCore/qstring.h>
 
+#if QT_DEPRECATED_SINCE(5, 0)
+#include <QtCore/qstringlist.h>
+#endif
+
 QT_BEGIN_HEADER
 
 QT_BEGIN_NAMESPACE