Desactivate auto statusTip
-
Hello,
I'm creating an application that uses the statusBar to give important informations to the user.
However, when the mouse comes over the menuBar, my message showed in the statusBar disappears. I guess it's an automatic empty statusTip used for the menu that is taking its place.
I can't find a way to make my message visible when it happens.
Does someone know a way to desactivate this statusTip?Thanks
-
That's what I'm doing:
@
MyMainwWindow::MyMainWindow() {
qApp->installEventFilter(this);
}
bool MyMainWindow::eventFilter(QObject* watched, QEvent* event) {
return event->type() == QEvent::ToolTip;
}
@ -
That works perfectly.
Thanks