core: add function for clearing the status bar message

This commit is contained in:
itsmattkc
2021-04-27 01:19:48 +10:00
parent ff838d23d5
commit fdbb8e59a9
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -1083,6 +1083,11 @@ void Core::ShowStatusBarMessage(const QString &s, int timeout)
main_window_->statusBar()->showMessage(s, timeout);
}
void Core::ClearStatusBarMessage()
{
main_window_->statusBar()->clearMessage();
}
void Core::OpenRecoveryProject(const QString &filename)
{
OpenProjectInternal(filename, true);
+2
View File
@@ -298,6 +298,8 @@ public:
*/
void ShowStatusBarMessage(const QString& s, int timeout = 0);
void ClearStatusBarMessage();
void OpenRecoveryProject(const QString& filename);
void OpenNodeInViewer(ViewerOutput* viewer);