diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-06-15 23:51:28 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-06-17 06:53:13 +0900 |
commit | b0cc4169549e34781e63b25a016b05f1334f33cd (patch) | |
tree | cef14aeea09e123d003619a3866ef508d1660e51 /desktop-widgets/mainwindow.cpp | |
parent | f54764cdbc877e6519a464cf2e31a3877a00bc66 (diff) | |
download | subsurface-b0cc4169549e34781e63b25a016b05f1334f33cd.tar.gz |
Cleanup: fold DiveComputerManagementDialog::update() into init()
update() was only called in conjunction with init(). No point in
having two functions. The separation between both functions seemed
arbitrary anyway.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r-- | desktop-widgets/mainwindow.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp index 644c6bfe4..1e7b28ab0 100644 --- a/desktop-widgets/mainwindow.cpp +++ b/desktop-widgets/mainwindow.cpp @@ -892,7 +892,6 @@ void MainWindow::on_actionDivelogs_de_triggered() void MainWindow::on_actionEditDeviceNames_triggered() { DiveComputerManagementDialog::instance()->init(); - DiveComputerManagementDialog::instance()->update(); DiveComputerManagementDialog::instance()->show(); } |