From 7c6a4276f0330238d3d9438dc58a528c6cd4c80a Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sat, 23 Aug 2014 09:59:05 +0200 Subject: [PATCH] QIconLoader: don't inherit QObject QIconLoader did not use the services from QObject and the Q_OBJECT macro was missing, too, so external code couldn't have used it in a qobject_cast or inherits(), either. Change-Id: I1f33dd540fa2ded48d871d848a77eee743a4e3c0 Reviewed-by: Olivier Goffart --- src/gui/image/qiconloader_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/image/qiconloader_p.h b/src/gui/image/qiconloader_p.h index d979b07fa6..2495ff4d50 100644 --- a/src/gui/image/qiconloader_p.h +++ b/src/gui/image/qiconloader_p.h @@ -158,7 +158,7 @@ private: bool m_valid; }; -class Q_GUI_EXPORT QIconLoader : public QObject +class Q_GUI_EXPORT QIconLoader { public: QIconLoader();