From c9fe2a27d0de85c4342a060dc271e74c97b5d9f9 Mon Sep 17 00:00:00 2001 From: Furkan Uzumcu Date: Sun, 9 Oct 2011 11:04:29 +0200 Subject: tabsChanged() signal has been removed some time ago.. REVIEW: 102810 REVIEWED-BY: adjam --- src/tabbar.cpp | 8 -------- src/tabbar.h | 1 - 2 files changed, 9 deletions(-) (limited to 'src') diff --git a/src/tabbar.cpp b/src/tabbar.cpp index 172d98ee..ea01ef9b 100644 --- a/src/tabbar.cpp +++ b/src/tabbar.cpp @@ -83,7 +83,6 @@ TabBar::TabBar(QWidget *parent) connect(this, SIGNAL(contextMenu(int, const QPoint &)), this, SLOT(contextMenu(int, const QPoint &))); connect(this, SIGNAL(emptyAreaContextMenu(const QPoint &)), this, SLOT(emptyAreaContextMenu(const QPoint &))); - connect(this, SIGNAL(tabMoved(int, int)), this, SLOT(tabMoved(int, int))); connect(m_animationMapper, SIGNAL(mapped(int)), this, SLOT(removeAnimation(int))); setGraphicsEffect(m_tabHighlightEffect); @@ -301,13 +300,6 @@ void TabBar::mousePressEvent(QMouseEvent *event) } -void TabBar::tabMoved(int, int) -{ - MainView *mv = qobject_cast(parent()); - QTimer::singleShot(200, mv, SIGNAL(tabsChanged())); -} - - void TabBar::contextMenu(int tab, const QPoint &pos) { setupHistoryActions(); diff --git a/src/tabbar.h b/src/tabbar.h index 1949673f..b4c816b7 100644 --- a/src/tabbar.h +++ b/src/tabbar.h @@ -98,7 +98,6 @@ private slots: void contextMenu(int, const QPoint &); void emptyAreaContextMenu(const QPoint &); - void tabMoved(int, int); void showTabPreview(); -- cgit v1.2.1