From a124f2ada3bc3f36862dd2e207ceb68672610929 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 6 Oct 2008 16:56:39 +0000 Subject: remove the asynchronous update of the zooming again, it decreases the "feeled" performance svn path=/trunk/KDE/kdebase/apps/; revision=868575 --- src/dolphinstatusbar.h | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'src/dolphinstatusbar.h') diff --git a/src/dolphinstatusbar.h b/src/dolphinstatusbar.h index 49f14357d..3cee1ed53 100644 --- a/src/dolphinstatusbar.h +++ b/src/dolphinstatusbar.h @@ -131,19 +131,9 @@ private slots: void updateSpaceInfoContent(const KUrl& url); /** - * Requests setting the zoom level to \a zoomLevel by applying it - * to m_requestedZoomLevel and triggering a short timer, which will - * invoke DolphinStatusBar::updateZoomLevel(). This assures no blocking - * of the zoom slider when zooming views having a huge number of - * items. + * Sets the zoom level of the item view to \a zoomLevel. */ - void requestZoomLevel(int zoomLevel); - - /** - * Updates the zoom level to m_requestedZoomLevel (see also - * DolphinStatusBar::requestZoomLevel(). - */ - void updateZoomLevel(); + void setZoomLevel(int zoomLevel); /** * Assures that the text of the statusbar stays visible by hiding @@ -166,13 +156,10 @@ private: StatusBarMessageLabel* m_messageLabel; StatusBarSpaceInfo* m_spaceInfo; QSlider* m_zoomSlider; - QTimer* m_zoomTimer; QLabel* m_progressText; QProgressBar* m_progressBar; int m_progress; - - int m_requestedZoomLevel; }; #endif -- cgit v1.3