summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qtabbar_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qtabbar_p.h')
-rw-r--r--src/widgets/widgets/qtabbar_p.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/widgets/widgets/qtabbar_p.h b/src/widgets/widgets/qtabbar_p.h
index 8c6e70b8d7..b7b6998ca3 100644
--- a/src/widgets/widgets/qtabbar_p.h
+++ b/src/widgets/widgets/qtabbar_p.h
@@ -126,11 +126,9 @@ public:
TabBarAnimation(Tab *t, QTabBarPrivate *_priv) : tab(t), priv(_priv)
{ setEasingCurve(QEasingCurve::InOutQuad); }
- void updateCurrentValue(const QVariant &current)
- { priv->moveTab(priv->tabList.indexOf(*tab), current.toInt()); }
+ void updateCurrentValue(const QVariant &current);
- void updateState(State, State newState)
- { if (newState == Stopped) priv->moveTabFinished(priv->tabList.indexOf(*tab)); }
+ void updateState(State, State newState);
private:
//these are needed for the callbacks
Tab *tab;