Fix typo in QWasmOffscre*e*nSurface

Change-Id: I34a84e11c7e2eb37e2f66d7c96fd1c2bdd77a351
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
Mikolaj Boc 2022-11-28 15:32:03 +01:00
parent 39473f9210
commit a38fe10fff
3 changed files with 6 additions and 7 deletions

View File

@ -215,7 +215,7 @@ QPlatformInputContext *QWasmIntegration::inputContext() const
QPlatformOffscreenSurface *QWasmIntegration::createPlatformOffscreenSurface(QOffscreenSurface *surface) const
{
return new QWasmOffscrenSurface(surface);
return new QWasmOffscreenSurface(surface);
}
QPlatformFontDatabase *QWasmIntegration::fontDatabase() const

View File

@ -5,12 +5,11 @@
QT_BEGIN_NAMESPACE
QWasmOffscrenSurface::QWasmOffscrenSurface(QOffscreenSurface *offscreenSurface)
QWasmOffscreenSurface::QWasmOffscreenSurface(QOffscreenSurface *offscreenSurface)
:QPlatformOffscreenSurface(offscreenSurface)
{
}
QWasmOffscrenSurface::~QWasmOffscrenSurface() = default;
QWasmOffscreenSurface::~QWasmOffscreenSurface() = default;
QT_END_NAMESPACE

View File

@ -9,11 +9,11 @@
QT_BEGIN_NAMESPACE
class QOffscreenSurface;
class QWasmOffscrenSurface : public QPlatformOffscreenSurface
class QWasmOffscreenSurface final : public QPlatformOffscreenSurface
{
public:
explicit QWasmOffscrenSurface(QOffscreenSurface *offscreenSurface);
~QWasmOffscrenSurface();
explicit QWasmOffscreenSurface(QOffscreenSurface *offscreenSurface);
~QWasmOffscreenSurface() final;
private:
};