┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2011-12-08 23:08:01 +0100
committerPeter Penz <[email protected]>2011-12-08 23:10:42 +0100
commita237e085fc976147858161e6c25b33a825f73eeb (patch)
tree043be102e49405bfbe4221ea4d08610c6d86ccf5 /src/views/dolphinview.cpp
parent2827b96d9817252c22ae6f788f4d073303178cea (diff)
Fix font settings issue
The font settings have been ignored currently because of the transition to the new view-engine. The patch is based on the work of Janardhan Reddy and has been extended by the helper class ViewModeSettings. BUG: 288395 FIXED-IN: 4.8.0
Diffstat (limited to 'src/views/dolphinview.cpp')
-rw-r--r--src/views/dolphinview.cpp18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index fdca4cf86..f2dcbaf85 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -445,15 +445,9 @@ void DolphinView::stopLoading()
void DolphinView::refresh()
{
- const bool oldActivationState = m_active;
- const int oldZoomLevel = zoomLevel();
- m_active = true;
-
+ m_container->refresh();
applyViewProperties();
reload();
-
- setActive(oldActivationState);
- updateZoomLevel(oldZoomLevel);
}
void DolphinView::setNameFilter(const QString& nameFilter)
@@ -1244,16 +1238,6 @@ void DolphinView::pasteToUrl(const KUrl& url)
KonqOperations::doPaste(this, url);
}
-void DolphinView::updateZoomLevel(int oldZoomLevel)
-{
- Q_UNUSED(oldZoomLevel);
- /* const int newZoomLevel = ZoomLevelInfo::zoomLevelForIconSize(m_viewAccessor.itemView()->iconSize());
- if (oldZoomLevel != newZoomLevel) {
- m_viewModeController->setZoomLevel(newZoomLevel);
- emit zoomLevelChanged(newZoomLevel);
- }*/
-}
-
KUrl::List DolphinView::simplifiedSelectedUrls() const
{
KUrl::List urls;