diff --git a/src/widgets/dtabbar.cpp b/src/widgets/dtabbar.cpp index bcd528406..ffc8417a1 100644 --- a/src/widgets/dtabbar.cpp +++ b/src/widgets/dtabbar.cpp @@ -156,6 +156,12 @@ class DTabBarPrivate : public QTabBar, public DObjectPrivate layout->addStretch(); qq->setFocusProxy(this); + + connect(this, &DTabBarPrivate::currentChanged, qq, &DTabBar::currentChanged); + connect(this, &DTabBarPrivate::tabCloseRequested, qq, &DTabBar::tabCloseRequested); + connect(this, &DTabBarPrivate::tabMoved, qq, &DTabBar::tabMoved); + connect(this, &DTabBarPrivate::tabBarClicked, qq, &DTabBar::tabBarClicked); + connect(this, &DTabBarPrivate::tabBarDoubleClicked, qq, &DTabBar::tabBarDoubleClicked); } void moveTabOffset(int index, int offset)