From 24e8c28d9ec94ffa5ef329351b81feb163b3215a Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Thu, 24 Mar 2022 07:59:02 +0100 Subject: [PATCH] unused code removed --- src/controls/QskPageIndicatorSkinlet.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/controls/QskPageIndicatorSkinlet.cpp b/src/controls/QskPageIndicatorSkinlet.cpp index 90a7b52c..6b57eda2 100644 --- a/src/controls/QskPageIndicatorSkinlet.cpp +++ b/src/controls/QskPageIndicatorSkinlet.cpp @@ -10,15 +10,6 @@ #include "QskSGNode.h" #include "QskFunctions.h" -static inline int qskCurrentIndex( const QskPageIndicator* indicator ) -{ - int index = qRound( indicator->currentIndex() ); - if ( index >= indicator->count() ) - index = 0; - - return index; -} - static QRectF qskBulletRect( const QskPageIndicator* indicator, const QRectF& rect, int index ) {