From b0cc4169549e34781e63b25a016b05f1334f33cd Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 15 Jun 2018 23:51:28 +0200 Subject: 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 --- desktop-widgets/mainwindow.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'desktop-widgets/mainwindow.cpp') 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(); } -- cgit v1.2.3-70-g09d2