From 9d7103f6ef50ddf7ec16d376996cd5612abc6168 Mon Sep 17 00:00:00 2001 From: Shaun Reich Date: Mon, 9 Mar 2009 02:31:41 +0000 Subject: [PATCH] There is no point in setting the text of a tab, each time a tab is selected, the only time we should have to do that is when we are using a split view. This also kind of hides the Qt 4.5 tab bug (a very ugly one) from "regular" users (who don't use the split view). svn path=/trunk/KDE/kdebase/apps/; revision=937116 --- src/dolphinmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index bfdf8dafd..df3974572 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1006,7 +1006,7 @@ void DolphinMainWindow::setActiveViewContainer(DolphinViewContainer* viewContain const KUrl& url = m_activeViewContainer->url(); setCaption(url.fileName()); - if (m_viewTab.count() > 1) { + if (m_viewTab.count() > 1 && m_viewTab[m_tabIndex].secondaryView != 0) { m_tabBar->setTabText(m_tabIndex, tabName(url)); } -- 2.47.3