summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tabbar.cpp8
-rw-r--r--src/tabbar.h1
2 files changed, 0 insertions, 9 deletions
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<MainView *>(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();