summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-21 23:26:50 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-25 13:59:04 -0700
commitc263487e7ce7c7b22e516650eb857c646728c34a (patch)
tree0f78e7da3c9b5e6cabcd2e2ba0b81f952a725d6d /desktop-widgets/mainwindow.h
parentd403532a864f5cfc9f2c5e8a62edfcdaacdd105a (diff)
downloadsubsurface-c263487e7ce7c7b22e516650eb857c646728c34a.tar.gz
cleanup: remove MainWindow::setFileClean()
This function was used to unify both methods of tracking unsaved changes. Since desktop now only uses the undo system, it can be replaced by a single call to "Command::setClean()". Arguably, the UI is the wrong place to do this and the appropriate calls should be done by the core. However, let's play it safe for now and avoid any breaking change. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r--desktop-widgets/mainwindow.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h
index 4785760a5..e0d53b20d 100644
--- a/desktop-widgets/mainwindow.h
+++ b/desktop-widgets/mainwindow.h
@@ -198,7 +198,6 @@ private:
void writeSettings();
int file_save();
int file_save_as();
- void setFileClean();
void beginChangeState(CurrentState s);
void saveSplitterSizes();
void toggleCollapsible(bool toggle);