From 4f746fa15b4176e8e28393d234e356b06f4c1daa Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Thu, 7 May 2015 12:24:07 +0200 Subject: [PATCH] Clear status tip --- src/segmentedcontrol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/segmentedcontrol.cpp b/src/segmentedcontrol.cpp index 7ed895c..ff51fcc 100644 --- a/src/segmentedcontrol.cpp +++ b/src/segmentedcontrol.cpp @@ -149,7 +149,7 @@ void SegmentedControl::mouseReleaseEvent(QMouseEvent *event) { void SegmentedControl::leaveEvent(QEvent *event) { QWidget::leaveEvent(event); // status tip - // static_cast(window())->statusBar()->clearMessage(); + MainWindow::instance()->statusBar()->clearMessage(); d->hoveredAction = 0; d->pressedAction = 0; update(); -- 2.39.5