svn path=/trunk/KDE/kdebase/apps/; revision=716416
const KUrl oldRootUrl = rootUrl();
m_controller->setUrl(url); // emits urlChanged, which we forward
const KUrl oldRootUrl = rootUrl();
m_controller->setUrl(url); // emits urlChanged, which we forward
+ bool useUrlProperties = true;
const bool restoreColumnView = !isColumnViewActive()
&& m_rootUrl.isParentOf(url)
&& (m_rootUrl != url);
if (restoreColumnView) {
applyViewProperties(m_rootUrl);
const bool restoreColumnView = !isColumnViewActive()
&& m_rootUrl.isParentOf(url)
&& (m_rootUrl != url);
if (restoreColumnView) {
applyViewProperties(m_rootUrl);
- startDirLister(m_rootUrl);
- Q_ASSERT(itemView() == m_columnView);
- m_columnView->showColumn(url);
- } else {
+ if (itemView() == m_columnView) {
+ startDirLister(m_rootUrl);
+ m_columnView->showColumn(url);
+ useUrlProperties = false;
+ }
+ }
+
+ if (useUrlProperties) {
applyViewProperties(url);
startDirLister(url);
}
applyViewProperties(url);
startDirLister(url);
}