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
This commit is contained in:
Aleix Pol 2014-03-05 16:02:50 +01:00
parent 828edd8b40
commit da325d037b

View File

@ -312,8 +312,8 @@ void PanelView::setDistance(int dist)
} }
m_distance = dist; m_distance = dist;
m_positionPaneltimer.start();
emit distanceChanged(); emit distanceChanged();
positionPanel();
} }
void PanelView::setVisibilityMode(PanelView::VisibilityMode mode) void PanelView::setVisibilityMode(PanelView::VisibilityMode mode)