From: Shaun Reich Date: Tue, 10 Mar 2009 00:40:37 +0000 (+0000) Subject: A change in focus between the split view, would not update the icon on the tab that... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/b23c00997abab794ff8d9d8b18abfadec89b89da A change in focus between the split view, would not update the icon on the tab that it was in-now does. svn path=/trunk/KDE/kdebase/apps/; revision=937597 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 271d8edec..31f3f48a9 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1012,6 +1012,7 @@ void DolphinMainWindow::setActiveViewContainer(DolphinViewContainer* viewContain setCaption(url.fileName()); if (m_viewTab.count() > 1 && m_viewTab[m_tabIndex].secondaryView != 0) { m_tabBar->setTabText(m_tabIndex, tabName(url)); + m_tabBar->setTabIcon(m_tabIndex, KIcon(KMimeType::iconNameForUrl(url))); } emit urlChanged(url);