]> cloud.milkyroute.net Git - dolphin.git/commitdiff
A change in focus between the split view, would not update the icon on the tab that...
authorShaun Reich <shaun.reich@kdemail.net>
Tue, 10 Mar 2009 00:40:37 +0000 (00:40 +0000)
committerShaun Reich <shaun.reich@kdemail.net>
Tue, 10 Mar 2009 00:40:37 +0000 (00:40 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=937597

src/dolphinmainwindow.cpp

index 271d8edec07ec26b59269dd6df26efbc2a33a5b4..31f3f48a9ed482673ce76afd05f111276ce1dfc5 100644 (file)
@@ -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);