diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-11-15 19:38:27 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-16 08:29:53 -0800 |
commit | 808316f4342dff72fd79cfadf3cc01e41237c65e (patch) | |
tree | eae4d52d75391bd19576f1688e5a317ed0131a51 /desktop-widgets/mainwindow.h | |
parent | 36094e4a188a922eba6f83e5a30c8c575c462b84 (diff) | |
download | subsurface-808316f4342dff72fd79cfadf3cc01e41237c65e.tar.gz |
Cleanup: fold cleanUpEmpty() into closeCurrentFile()
The latter was the only caller of the former and there seems
to be no clear separation between the two. By making a single
function out of this the code is easier to follow and duplicate
code can be more easily detected. Matter of fact, the profile
was cleared twice.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r-- | desktop-widgets/mainwindow.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h index 62cc1b6f1..0eaa5e1fa 100644 --- a/desktop-widgets/mainwindow.h +++ b/desktop-widgets/mainwindow.h @@ -71,7 +71,6 @@ public: void loadFiles(const QStringList files); void importFiles(const QStringList importFiles); - void cleanUpEmpty(); void setToolButtonsEnabled(bool enabled); void printPlan(); void checkSurvey(); |