better classname

This commit is contained in:
Uwe Rathmann 2019-05-17 22:33:20 +02:00
parent 40bbe2d7d9
commit d1a338d542
1 changed files with 3 additions and 3 deletions

View File

@ -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 ); } );