diff options
| author | Shaun Reich <[email protected]> | 2009-03-09 02:31:41 +0000 |
|---|---|---|
| committer | Shaun Reich <[email protected]> | 2009-03-09 02:31:41 +0000 |
| commit | 9d7103f6ef50ddf7ec16d376996cd5612abc6168 (patch) | |
| tree | 840b1c2e5e9ded14b31ba9cb8e0bd3a409f3adaa /src/dolphinmainwindow.cpp | |
| parent | 57515028fa599cced59f449c40afdd675ec95a0b (diff) | |
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
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |
