compiler warnings fixed

This commit is contained in:
Uwe Rathmann 2025-02-06 10:25:21 +01:00
parent e8657d72ff
commit 92a8c7e395
2 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@
namespace namespace
{ {
class Material : public TextureFilterMaterial class Material final : public TextureFilterMaterial
{ {
public: public:
using TextureFilterMaterial::TextureFilterMaterial; using TextureFilterMaterial::TextureFilterMaterial;
@ -31,7 +31,7 @@ namespace
} }
}; };
class FilterNode : public TextureFilterNode class FilterNode final : public TextureFilterNode
{ {
public: public:
FilterNode( bool useRhi, QSGTexture* texture ) FilterNode( bool useRhi, QSGTexture* texture )
@ -52,7 +52,7 @@ namespace
} }
}; };
class Skinlet : public QskSkinlet class Skinlet final : public QskSkinlet
{ {
using Inherited = QskSkinlet; using Inherited = QskSkinlet;
@ -70,8 +70,8 @@ namespace
return contentsRect; return contentsRect;
} }
QSGNode* updateSubNode( QSGNode* updateSubNode( const QskSkinnable* skinnable,
const QskSkinnable* skinnable, quint8 nodeRole, QSGNode* node ) const quint8 nodeRole, QSGNode* node ) const override
{ {
const auto overlay = static_cast< const Overlay* >( skinnable ); const auto overlay = static_cast< const Overlay* >( skinnable );

View File

@ -146,7 +146,7 @@ class MainView : public QskControl
} }
protected: protected:
void updateLayout() void updateLayout() override
{ {
if ( m_background ) if ( m_background )
m_background->setGeometry( rect() ); m_background->setGeometry( rect() );