QPlatformTheme: Add virtual destructor.

Change-Id: I78aab57cc16ef4542bfb88c81dd6a9d8b4c4d853
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
This commit is contained in:
Morten Johan Sorvig 2012-02-29 14:20:11 +01:00 committed by Qt by Nokia
parent 9b5cdccc02
commit 39e616c159
2 changed files with 7 additions and 0 deletions

View File

@ -102,6 +102,11 @@ QT_BEGIN_NAMESPACE
\sa themeHint(), QStyle::pixelMetric()
*/
QPlatformTheme::~QPlatformTheme()
{
}
QPlatformMenu *QPlatformTheme::createPlatformMenu(QMenu *menu) const
{
Q_UNUSED(menu);

View File

@ -99,6 +99,8 @@ public:
CdeKeyboardScheme
};
virtual ~QPlatformTheme();
virtual QPlatformMenu *createPlatformMenu(QMenu *menu = 0) const;
virtual QPlatformMenuBar *createPlatformMenuBar(QMenuBar *menuBar = 0) const;