mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Simplify signal handling after dive site editing
Since commit 01d961086c
, MainWindow::refreshDisplay()
is called in the refreshDiveInfo() signal of maintab after editing a
dive site. Since this was the only use of the refreshDiveInfo signal,
remove this signal and instead connect to MainWindow::refreshDisplay directly.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
bf65f1e507
commit
2a0520d57d
3 changed files with 1 additions and 12 deletions
|
@ -64,7 +64,6 @@ public
|
|||
slots:
|
||||
void addCylinder_clicked();
|
||||
void addWeight_clicked();
|
||||
void refreshDiveInfo();
|
||||
void updateDiveInfo(bool clear = false);
|
||||
void updateDepthDuration();
|
||||
void acceptChanges();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue