From da325d037be8039f4e324c466b0e609a6d4cc2d8 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Wed, 5 Mar 2014 16:02:50 +0100 Subject: [PATCH] Make the PanelView::distance change immediate This way we can use it from the EdgeHandle without having to stop moving the mouse first. Reviewed by Marco Martin --- src/shell/panelview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/panelview.cpp b/src/shell/panelview.cpp index a09a61a66..1e0b8c76b 100644 --- a/src/shell/panelview.cpp +++ b/src/shell/panelview.cpp @@ -312,8 +312,8 @@ void PanelView::setDistance(int dist) } m_distance = dist; - m_positionPaneltimer.start(); emit distanceChanged(); + positionPanel(); } void PanelView::setVisibilityMode(PanelView::VisibilityMode mode)