projectmanagers: set title automatically and pass cancelled signal to sub functions

This commit is contained in:
itsmattkc
2020-02-17 02:13:49 +11:00
parent e88d11af68
commit 705b7f3d86
3 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
ProjectSaveManager::ProjectSaveManager(Project *project) :
project_(project)
{
SetTitle(tr("Saving '%1'").arg(project->filename()));
}
void ProjectSaveManager::Action()
@@ -32,5 +32,5 @@ void ProjectSaveManager::Action()
project_file.close();
}
emit Succeeeded();
emit Succeeded();
}