implement virtual destructor in QPlatformSurface

Change-Id: Iaadd9c3cd7c2e2022066ca859cbe1e912050c561
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
Gunnar Sletta 2012-03-14 15:33:18 +01:00 committed by Qt by Nokia
parent 91752c43b8
commit 96fe217467
2 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,11 @@
QT_BEGIN_NAMESPACE
QPlatformSurface::~QPlatformSurface()
{
}
QSurface::SurfaceClass QPlatformSurface::surfaceClass() const
{
return m_type;

View File

@ -54,6 +54,7 @@ QT_BEGIN_NAMESPACE
class Q_GUI_EXPORT QPlatformSurface
{
public:
virtual ~QPlatformSurface();
virtual QSurfaceFormat format() const = 0;
QSurface::SurfaceClass surfaceClass() const;