Commit 5a13d42e authored by David Faure's avatar David Faure
Browse files

Fix connect warning about moveTab

parent d817a0b9
......@@ -115,8 +115,6 @@ KonqFrameTabs::KonqFrameTabs(QWidget *parent, KonqFrameContainerBase *parentCont
connect(tabBar(), SIGNAL(tabMoved(int,int)),
SLOT(slotMovedTab(int,int)));
connect(this, SIGNAL(movedTab(int,int)),
SLOT(slotMovedTab(int,int)));
connect(this, SIGNAL(mouseMiddleClick()),
SLOT(slotMouseMiddleClick()));
connect(this, SIGNAL(mouseMiddleClick(QWidget*)),
......@@ -269,7 +267,7 @@ void KonqFrameTabs::moveTabBackward(int index)
if (index == 0) {
return;
}
moveTab(index, index - 1);
tabBar()->moveTab(index, index - 1);
}
void KonqFrameTabs::moveTabForward(int index)
......@@ -277,7 +275,7 @@ void KonqFrameTabs::moveTabForward(int index)
if (index == count() - 1) {
return;
}
moveTab(index, index + 1);
tabBar()->moveTab(index, index + 1);
}
void KonqFrameTabs::slotMovedTab(int from, int to)
......
......@@ -70,12 +70,6 @@ public:
void setTabText(int, const QString &);
public Q_SLOTS:
/**
* Move a widget's tab from first to second specified index and emit
* signal movedTab( int, int ) afterwards.
*/
virtual void moveTab(int, int);
/**
* Removes the widget, reimplemented for
* internal reasons (keeping labels in sync).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment