]> git.sur5r.net Git - minitube/commitdiff
Clear status tip
authorFlavio Tordini <flavio.tordini@gmail.com>
Thu, 7 May 2015 10:24:07 +0000 (12:24 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Thu, 7 May 2015 10:24:07 +0000 (12:24 +0200)
src/segmentedcontrol.cpp

index 7ed895c3eb65c02a0bd5eaf4975290a180162ec4..ff51fcc330b8e0531494d2ee3c15521bfdad9f0e 100644 (file)
@@ -149,7 +149,7 @@ void SegmentedControl::mouseReleaseEvent(QMouseEvent *event) {
 void SegmentedControl::leaveEvent(QEvent *event) {
     QWidget::leaveEvent(event);
     // status tip
-    // static_cast<QMainWindow*>(window())->statusBar()->clearMessage();
+    MainWindow::instance()->statusBar()->clearMessage();
     d->hoveredAction = 0;
     d->pressedAction = 0;
     update();