mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Signal change when tab is (un)pinned and moved
This commit is contained in:
parent
e9b226d477
commit
f2f9e1a6c3
|
@ -122,7 +122,8 @@ TabWidget::TabWidget(BrowserWindow* window, QWidget* parent)
|
|||
setTabBar(m_tabBar);
|
||||
|
||||
connect(this, SIGNAL(currentChanged(int)), m_window, SLOT(refreshHistory()));
|
||||
connect(this, SIGNAL(changed()), mApp, SLOT(changeOccurred()));
|
||||
connect(this, &TabWidget::changed, mApp, &MainApplication::changeOccurred);
|
||||
connect(this, &TabStackedWidget::pinStateChanged, this, &TabWidget::changed);
|
||||
|
||||
connect(m_tabBar, SIGNAL(tabCloseRequested(int)), this, SLOT(requestCloseTab(int)));
|
||||
connect(m_tabBar, SIGNAL(reloadTab(int)), this, SLOT(reloadTab(int)));
|
||||
|
@ -527,6 +528,8 @@ void TabWidget::tabMoved(int before, int after)
|
|||
|
||||
m_lastBackgroundTabIndex = -1;
|
||||
m_lastTabIndex = before;
|
||||
|
||||
emit changed();
|
||||
}
|
||||
|
||||
void TabWidget::setCurrentIndex(int index)
|
||||
|
|
Loading…
Reference in New Issue
Block a user