diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-03 20:59:12 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-07-04 10:40:47 +0900 |
commit | f451f7d9a5155be6ea1225a7414e5665656f8b42 (patch) | |
tree | f369f62351c446d0f8b7326e1222b586db8f7c87 /profile-widget/profilewidget2.cpp | |
parent | 57c22d3dcc221caad66f12bb01a278c33dca0ab3 (diff) | |
download | subsurface-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>
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 1 |
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 } |