core: add status bar timeout
This commit is contained in:
+2
-2
@@ -1078,9 +1078,9 @@ bool Core::SaveProject(Project* p)
|
||||
}
|
||||
}
|
||||
|
||||
void Core::ShowStatusBarMessage(const QString &s)
|
||||
void Core::ShowStatusBarMessage(const QString &s, int timeout)
|
||||
{
|
||||
main_window_->statusBar()->showMessage(s);
|
||||
main_window_->statusBar()->showMessage(s, timeout);
|
||||
}
|
||||
|
||||
void Core::OpenRecoveryProject(const QString &filename)
|
||||
|
||||
+1
-1
@@ -296,7 +296,7 @@ public:
|
||||
*
|
||||
* Shorthand for Core::instance()->main_window()->statusBar()->showMessage();
|
||||
*/
|
||||
void ShowStatusBarMessage(const QString& s);
|
||||
void ShowStatusBarMessage(const QString& s, int timeout = 0);
|
||||
|
||||
void OpenRecoveryProject(const QString& filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user