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>
This commit is contained in:
Berthold Stoeger 2019-07-03 20:59:12 +02:00 committed by Dirk Hohndel
parent 57c22d3dcc
commit f451f7d9a5

View file

@ -1684,7 +1684,6 @@ void ProfileWidget2::splitDive()
duration_t time;
time.seconds = lrint(timeAxis->valueAt(scenePos));
Command::splitDives(d, time);
emit updateDiveInfo();
#endif
}