diff options
| author | Sascha Peilicke <[email protected]> | 2008-10-07 08:26:07 +0000 |
|---|---|---|
| committer | Sascha Peilicke <[email protected]> | 2008-10-07 08:26:07 +0000 |
| commit | 5a4749d9620cc378d10e95cb986ac9b71217b97c (patch) | |
| tree | 14a842fab8c5f8f3e5d88e5db973bf3ba4029b79 /src/dolphinstatusbar.cpp | |
| parent | d89548a828dd7d2e08acd85c329ccc2adf67bced (diff) | |
Small fix to the zoom slider bar, the old sliderMoved(int) signal is just fired when the user pressed a mouse button and drags the slider. It is however possible to change the slider position by clicking into it or (when focus follows mouse is enabled) by hovering on top of the slider and scrolling the mouse wheel. The zoom state was currently not updated in the latter 2 cases.
svn path=/trunk/KDE/kdebase/apps/; revision=868815
Diffstat (limited to 'src/dolphinstatusbar.cpp')
| -rw-r--r-- | src/dolphinstatusbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinstatusbar.cpp b/src/dolphinstatusbar.cpp index cddb09fd2..499a982bc 100644 --- a/src/dolphinstatusbar.cpp +++ b/src/dolphinstatusbar.cpp @@ -64,7 +64,7 @@ DolphinStatusBar::DolphinStatusBar(QWidget* parent, DolphinView* view) : m_zoomSlider->setRange(min, max); m_zoomSlider->setValue(view->zoomLevel()); - connect(m_zoomSlider, SIGNAL(sliderMoved(int)), + connect(m_zoomSlider, SIGNAL(valueChanged(int)), this, SLOT(setZoomLevel(int))); connect(m_view, SIGNAL(zoomLevelChanged(int)), m_zoomSlider, SLOT(setValue(int))); |
