Fix segfault with Qt 6.2 (use hide() instead of close())

This commit is contained in:
Hanna K 2021-10-22 11:00:32 +02:00
parent d7013a8e7f
commit 93ee94bac3

View File

@ -148,7 +148,7 @@ void ExpressionTipLabel::hideTip() {
if(!hideTimer.isActive()) hideTimer.start(300, this);
}
void ExpressionTipLabel::hideTipImmediately() {
close();
hide();
}
void ExpressionTipLabel::timerEvent(QTimerEvent *e) {
if(e->timerId() == hideTimer.timerId() || e->timerId() == expireTimer.timerId()) {