diff options
-rw-r--r-- | src/tabbar.cpp | 8 | ||||
-rw-r--r-- | src/tabbar.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp index 9b1ca66a..118bba45 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -362,6 +362,14 @@ void TabBar::tabRemoved(int index) } removeAnimation(index); + m_tabHighlightEffect->update(); +} + + +void TabBar::tabInserted(int index) +{ + Q_UNUSED(index); + m_tabHighlightEffect->update(); } diff --git a/src/tabbar.h b/src/tabbar.h index 39516fc0..58516f14 100644 --- a/src/tabbar.h +++ b/src/tabbar.h @@ -81,7 +81,9 @@ protected: virtual void mouseMoveEvent(QMouseEvent *event); virtual void leaveEvent(QEvent *event); virtual void mousePressEvent(QMouseEvent *event); + virtual void tabRemoved(int index); + virtual void tabInserted(int index); private slots: void cloneTab(); |