diff options
| author | Peter Penz <[email protected]> | 2007-04-01 18:08:24 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-04-01 18:08:24 +0000 |
| commit | 05fe35c4e8a6d0b325806a75a1a93461ee7748ed (patch) | |
| tree | 36d7c5e0bda7f2757b953cc9462567ec9b137307 | |
| parent | f57f351cceb9b664d681aad3680998f5bfe2137c (diff) | |
reload view when the settings are applied
svn path=/trunk/KDE/kdebase/apps/; revision=648929
| -rw-r--r-- | src/dolphinmainwindow.cpp | 1 | ||||
| -rw-r--r-- | src/dolphinview.cpp | 5 | ||||
| -rw-r--r-- | src/dolphinview.h | 3 |
3 files changed, 1 insertions, 8 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 8d877495b..8959acf79 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -233,6 +233,7 @@ void DolphinMainWindow::refreshViews() props.viewMode(),
props.showHiddenFiles());
connectViewSignals(i);
+ m_view[i]->reload();
m_view[i]->show();
}
}
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 1e29716d3..6faf72e9f 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -355,11 +355,6 @@ int DolphinView::contentsY() const return itemView()->verticalScrollBar()->value(); } -void DolphinView::refreshSettings() -{ - startDirLister(m_urlNavigator->url()); -} - void DolphinView::emitRequestItemInfo(const KUrl& url) { emit requestItemInfo(url); diff --git a/src/dolphinview.h b/src/dolphinview.h index 0569ba400..d9a241759 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -306,9 +306,6 @@ public: /** Returns the additional information which should be shown for the items. */ KFileItemDelegate::AdditionalInformation additionalInfo() const; - /** Refreshs the view settings by reading out the stored settings. */ - void refreshSettings(); - /** Returns the UrlNavigator of the view for read access. */ const UrlNavigator* urlNavigator() const { return m_urlNavigator; } |
