diff --git a/src/controls/QskPageIndicatorSkinlet.cpp b/src/controls/QskPageIndicatorSkinlet.cpp index 7b42de0d..275e1324 100644 --- a/src/controls/QskPageIndicatorSkinlet.cpp +++ b/src/controls/QskPageIndicatorSkinlet.cpp @@ -165,7 +165,7 @@ QSGNode* QskPageIndicatorSkinlet::updateBulletsNode( while ( bulletNode->nextSibling() != nullptr ) { auto sibling = bulletNode->nextSibling(); - node->removeChildNode( bulletNode->nextSibling() ); + node->removeChildNode( sibling ); delete sibling; }