From c5f7cb114bcc598ad9f91e5f70fea75f8e140fe3 Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Tue, 6 Apr 2010 17:17:08 +0200 Subject: [PATCH] Fixed status tips for the sort bar --- src/thlibrary/thblackbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thlibrary/thblackbar.cpp b/src/thlibrary/thblackbar.cpp index bacd6ce..0043fc5 100644 --- a/src/thlibrary/thblackbar.cpp +++ b/src/thlibrary/thblackbar.cpp @@ -121,7 +121,7 @@ void THBlackBar::mouseMoveEvent (QMouseEvent *event) { update(); // status tip - QMainWindow* mainWindow = dynamic_cast(qApp->topLevelWidgets().first()); + QMainWindow* mainWindow = dynamic_cast(window()); if (mainWindow) mainWindow->statusBar()->showMessage(action->statusTip()); } } -- 2.39.5