fix:status bar when at the startup does not position correctly

This commit is contained in:
Xiao YiFang 2023-03-15 22:58:11 +08:00
parent 31c72dacdc
commit 91eefed48a

View file

@ -86,6 +86,7 @@ void MainStatusBar::showMessage(const QString & str, int timeout, const QPixmap
}
raise();
show();
move( QPoint( 0, parentWidget()->height() - height() ) );
}
void MainStatusBar::mousePressEvent ( QMouseEvent * )
@ -101,7 +102,7 @@ bool MainStatusBar::eventFilter( QObject *, QEvent * e )
break;
default:
break;
};
}
return false;
}