core: added shortcut to set status bar message
This commit is contained in:
@@ -65,6 +65,7 @@
|
||||
#include "widget/menu/menushared.h"
|
||||
#include "widget/taskview/taskviewitem.h"
|
||||
#include "widget/viewer/viewer.h"
|
||||
#include "window/mainwindow/mainstatusbar.h"
|
||||
#include "window/mainwindow/mainwindow.h"
|
||||
|
||||
namespace olive {
|
||||
@@ -936,6 +937,11 @@ bool Core::SaveProject(Project* p)
|
||||
}
|
||||
}
|
||||
|
||||
void Core::ShowStatusBarMessage(const QString &s)
|
||||
{
|
||||
main_window_->statusBar()->showMessage(s);
|
||||
}
|
||||
|
||||
bool Core::SaveProjectAs(Project* p)
|
||||
{
|
||||
QFileDialog fd(main_window_, tr("Save Project As"));
|
||||
|
||||
Reference in New Issue
Block a user