summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-21 23:20:46 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-25 13:59:04 -0700
commitfa6235d03510558ab381d57e771ad59d7e4769e1 (patch)
tree2c8162cc67fb4351875658a2d9b8291789266987 /desktop-widgets/mainwindow.h
parent8a20d019c236eeebc3a6d3540936bb209d350510 (diff)
downloadsubsurface-fa6235d03510558ab381d57e771ad59d7e4769e1.tar.gz
cleanup: remove MainWindow::unsavedChanges() function
This function was used to unify both methods of checking for unsaved changes: the global unsaved_changes() flag and the Command::clean() function of the undo-system. However, all desktop functions are now undoable and therefore the function is not needed and can be replaced by calls to !Command::clean(). Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
0 files changed, 0 insertions, 0 deletions