QPlatformTheme: Add virtual destructor.
authorMorten Johan Sorvig <morten.sorvig@nokia.com>
Wed, 29 Feb 2012 13:20:11 +0000 (14:20 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 29 Feb 2012 15:52:13 +0000 (16:52 +0100)
Change-Id: I78aab57cc16ef4542bfb88c81dd6a9d8b4c4d853
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
src/gui/kernel/qplatformtheme_qpa.cpp
src/gui/kernel/qplatformtheme_qpa.h

index 3f6b69b..3fdece7 100644 (file)
@@ -102,6 +102,11 @@ QT_BEGIN_NAMESPACE
     \sa themeHint(), QStyle::pixelMetric()
 */
 
+QPlatformTheme::~QPlatformTheme()
+{
+
+}
+
 QPlatformMenu *QPlatformTheme::createPlatformMenu(QMenu *menu) const
 {
     Q_UNUSED(menu);
index 31a52a9..3610a3c 100644 (file)
@@ -99,6 +99,8 @@ public:
         CdeKeyboardScheme
     };
 
+    virtual ~QPlatformTheme();
+
     virtual QPlatformMenu *createPlatformMenu(QMenu *menu = 0) const;
     virtual QPlatformMenuBar *createPlatformMenuBar(QMenuBar *menuBar = 0) const;