[nostalgia/studio] Cleanup save hooks and add unsaved changes marker to tabs

This commit is contained in:
2020-03-11 00:20:40 -05:00
parent bf00ff0e41
commit 6ada347ec4
4 changed files with 44 additions and 19 deletions
+4 -4
View File
@@ -13,15 +13,12 @@ namespace nostalgia::studio {
Editor::Editor(QWidget *parent): QWidget(parent) {
}
void Editor::saveItem() {
}
QUndoStack *Editor::undoStack() {
return nullptr;
}
void Editor::save() {
save();
saveItem();
setUnsavedChanges(false);
}
@@ -30,4 +27,7 @@ void Editor::setUnsavedChanges(bool uc) {
emit unsavedChangesUpdate(uc);
}
void Editor::saveItem() {
}
}