aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-07-03 20:59:12 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-07-04 10:40:47 +0900
commitf451f7d9a5155be6ea1225a7414e5665656f8b42 (patch)
treef369f62351c446d0f8b7326e1222b586db8f7c87
parent57c22d3dcc221caad66f12bb01a278c33dca0ab3 (diff)
downloadsubsurface-f451f7d9a5155be6ea1225a7414e5665656f8b42.tar.gz
Cleanup: remove unnecessary display refresh
In ProfileWidget2::splitDive() updateDiveInfo was emitted, but the UndoCommand does this by itself. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r--profile-widget/profilewidget2.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp
index 90c6e37ce..f117dc450 100644
--- a/profile-widget/profilewidget2.cpp
+++ b/profile-widget/profilewidget2.cpp
@@ -1684,7 +1684,6 @@ void ProfileWidget2::splitDive()
duration_t time;
time.seconds = lrint(timeAxis->valueAt(scenePos));
Command::splitDives(d, time);
- emit updateDiveInfo();
#endif
}