Fix typo in QWasmOffscre*e*nSurface
Change-Id: I34a84e11c7e2eb37e2f66d7c96fd1c2bdd77a351 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
39473f9210
commit
a38fe10fff
@ -215,7 +215,7 @@ QPlatformInputContext *QWasmIntegration::inputContext() const
|
|||||||
|
|
||||||
QPlatformOffscreenSurface *QWasmIntegration::createPlatformOffscreenSurface(QOffscreenSurface *surface) const
|
QPlatformOffscreenSurface *QWasmIntegration::createPlatformOffscreenSurface(QOffscreenSurface *surface) const
|
||||||
{
|
{
|
||||||
return new QWasmOffscrenSurface(surface);
|
return new QWasmOffscreenSurface(surface);
|
||||||
}
|
}
|
||||||
|
|
||||||
QPlatformFontDatabase *QWasmIntegration::fontDatabase() const
|
QPlatformFontDatabase *QWasmIntegration::fontDatabase() const
|
||||||
|
@ -5,12 +5,11 @@
|
|||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
QWasmOffscrenSurface::QWasmOffscrenSurface(QOffscreenSurface *offscreenSurface)
|
QWasmOffscreenSurface::QWasmOffscreenSurface(QOffscreenSurface *offscreenSurface)
|
||||||
:QPlatformOffscreenSurface(offscreenSurface)
|
:QPlatformOffscreenSurface(offscreenSurface)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QWasmOffscrenSurface::~QWasmOffscrenSurface() = default;
|
QWasmOffscreenSurface::~QWasmOffscreenSurface() = default;
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
@ -9,11 +9,11 @@
|
|||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
class QOffscreenSurface;
|
class QOffscreenSurface;
|
||||||
class QWasmOffscrenSurface : public QPlatformOffscreenSurface
|
class QWasmOffscreenSurface final : public QPlatformOffscreenSurface
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit QWasmOffscrenSurface(QOffscreenSurface *offscreenSurface);
|
explicit QWasmOffscreenSurface(QOffscreenSurface *offscreenSurface);
|
||||||
~QWasmOffscrenSurface();
|
~QWasmOffscreenSurface() final;
|
||||||
private:
|
private:
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user