mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f54764cdbc
commit
b0cc416954
3 changed files with 4 additions and 10 deletions
|
@ -892,7 +892,6 @@ void MainWindow::on_actionDivelogs_de_triggered()
|
|||
void MainWindow::on_actionEditDeviceNames_triggered()
|
||||
{
|
||||
DiveComputerManagementDialog::instance()->init();
|
||||
DiveComputerManagementDialog::instance()->update();
|
||||
DiveComputerManagementDialog::instance()->show();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue