From f451f7d9a5155be6ea1225a7414e5665656f8b42 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 3 Jul 2019 20:59:12 +0200 Subject: Cleanup: remove unnecessary display refresh In ProfileWidget2::splitDive() updateDiveInfo was emitted, but the UndoCommand does this by itself. Signed-off-by: Berthold Stoeger --- profile-widget/profilewidget2.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'profile-widget') 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 } -- cgit v1.2.3-70-g09d2