From d1a338d542701d50e3e1df758622cf1af60304a4 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 17 May 2019 22:33:20 +0200 Subject: [PATCH] better classname --- examples/layouts/StackLayoutPage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/layouts/StackLayoutPage.cpp b/examples/layouts/StackLayoutPage.cpp index 5132eaa9..4df201eb 100644 --- a/examples/layouts/StackLayoutPage.cpp +++ b/examples/layouts/StackLayoutPage.cpp @@ -16,10 +16,10 @@ namespace { - class Box : public QskStackBox + class StackBox : public QskStackBox { public: - Box( QQuickItem* parent = nullptr ) + StackBox( QQuickItem* parent = nullptr ) : QskStackBox( parent ) { setObjectName( "StackBox" ); @@ -103,7 +103,7 @@ StackLayoutPage::StackLayoutPage( QQuickItem* parent ) setMargins( 10 ); setBackgroundColor( QskRgbValue::LightSteelBlue ); - auto* box = new Box(); + auto* box = new StackBox(); auto* buttonBox = new ButtonBox(); buttonBox->addButton( "<<", [ box ]() { box->incrementScrolling( Qt::Horizontal, +1 ); } );