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:
Berthold Stoeger 2017-11-26 10:01:11 +01:00 committed by Dirk Hohndel
parent bf65f1e507
commit 2a0520d57d
3 changed files with 1 additions and 12 deletions

View file

@ -64,7 +64,6 @@ public
slots:
void addCylinder_clicked();
void addWeight_clicked();
void refreshDiveInfo();
void updateDiveInfo(bool clear = false);
void updateDepthDuration();
void acceptChanges();