summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpicture.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2017-06-19 12:53:25 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2017-06-20 16:10:30 +0000
commit4de40514066e7e31fe02c87afaf0863d6928391f (patch)
treea460bdb7c6ce27021ae0a1121721d8c17d1f4c01 /src/gui/image/qpicture.cpp
parent3d77c3629c2f0f8ff0950577bc5d9dfb938cfbf0 (diff)
QPicture: mark deprecated functions with the QT_DEPRECATED macros
These functions should never be used, they've been deprecated since Qt 5.0. Change-Id: I71744eba3ff3b94487dd040ddd6af4fb11f382b2 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/gui/image/qpicture.cpp')
-rw-r--r--src/gui/image/qpicture.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/image/qpicture.cpp b/src/gui/image/qpicture.cpp
index 7506e2e1a9..a9c3482209 100644
--- a/src/gui/image/qpicture.cpp
+++ b/src/gui/image/qpicture.cpp
@@ -1194,6 +1194,7 @@ QT_BEGIN_INCLUDE_NAMESPACE
#include "qpictureformatplugin.h"
QT_END_INCLUDE_NAMESPACE
+#if QT_DEPRECATED_SINCE(5, 0)
/*!
\obsolete
@@ -1279,6 +1280,7 @@ QList<QByteArray> QPicture::outputFormats()
{
return QPictureIO::outputFormats();
}
+#endif // QT_DEPRECATED_SINCE(5, 0)
/*****************************************************************************
QPictureIO member functions