From 39e616c15980153d76fda516ba42824599a45e42 Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Wed, 29 Feb 2012 14:20:11 +0100 Subject: QPlatformTheme: Add virtual destructor. Change-Id: I78aab57cc16ef4542bfb88c81dd6a9d8b4c4d853 Reviewed-by: Bradley T. Hughes --- src/gui/kernel/qplatformtheme_qpa.cpp | 5 +++++ src/gui/kernel/qplatformtheme_qpa.h | 2 ++ 2 files changed, 7 insertions(+) (limited to 'src/gui') diff --git a/src/gui/kernel/qplatformtheme_qpa.cpp b/src/gui/kernel/qplatformtheme_qpa.cpp index 3f6b69b902..3fdece70ea 100644 --- a/src/gui/kernel/qplatformtheme_qpa.cpp +++ b/src/gui/kernel/qplatformtheme_qpa.cpp @@ -102,6 +102,11 @@ QT_BEGIN_NAMESPACE \sa themeHint(), QStyle::pixelMetric() */ +QPlatformTheme::~QPlatformTheme() +{ + +} + QPlatformMenu *QPlatformTheme::createPlatformMenu(QMenu *menu) const { Q_UNUSED(menu); diff --git a/src/gui/kernel/qplatformtheme_qpa.h b/src/gui/kernel/qplatformtheme_qpa.h index 31a52a9391..3610a3c1c8 100644 --- a/src/gui/kernel/qplatformtheme_qpa.h +++ b/src/gui/kernel/qplatformtheme_qpa.h @@ -99,6 +99,8 @@ public: CdeKeyboardScheme }; + virtual ~QPlatformTheme(); + virtual QPlatformMenu *createPlatformMenu(QMenu *menu = 0) const; virtual QPlatformMenuBar *createPlatformMenuBar(QMenuBar *menuBar = 0) const; -- cgit v1.2.3