1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 04:36:34 +01:00

Fixed, update icon of detached tab.

This commit is contained in:
S. Razi Alavizadeh 2013-09-03 10:59:12 +04:30
parent dfa2218893
commit 333d0b0cdd

View File

@ -398,7 +398,13 @@ int TabWidget::addView(WebTab* tab)
int index = addTab(tab, QString());
setTabText(index, tab->title());
setTabIcon(index, tab->icon());
if (!tab->isLoading()) {
setTabIcon(index, tab->icon());
}
else {
startTabAnimation(index);
}
connect(tab->view(), SIGNAL(wantsCloseTab(int)), this, SLOT(closeTab(int)));
connect(tab->view(), SIGNAL(changed()), mApp, SLOT(setStateChanged()));