QPlatformSurface: add missing virtual dtor

Change-Id: Ia7630cf33380badfe4ec7bdb59a9b86320257978
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
This commit is contained in:
Marc Mutz 2012-03-06 22:47:33 +01:00 committed by Qt by Nokia
parent c005c75080
commit 43a176804f
2 changed files with 3 additions and 0 deletions

View File

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

View File

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