warning fixed

This commit is contained in:
Uwe Rathmann 2022-10-07 19:00:40 +02:00
parent 9d640d3f06
commit f9fefde387

View File

@ -40,7 +40,7 @@ void Cube::startAnimation( Qsk::Direction direction )
const bool inverted = ( direction == Qsk::LeftToRight || direction == Qsk::TopToBottom ); const bool inverted = ( direction == Qsk::LeftToRight || direction == Qsk::TopToBottom );
animator->setInverted( inverted ); animator->setInverted( inverted );
int newIndex; int newIndex = 0;
switch( direction ) switch( direction )
{ {