aboutsummaryrefslogtreecommitdiff
path: root/stfstrokeitem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'stfstrokeitem.cc')
-rw-r--r--stfstrokeitem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/stfstrokeitem.cc b/stfstrokeitem.cc
index 8fce6b7..a9ca693 100644
--- a/stfstrokeitem.cc
+++ b/stfstrokeitem.cc
@@ -54,7 +54,7 @@ void StfStrokeItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
PaperReplay::PenTime time = _startTime - _session.startTime();
if (time < 10) time = 0;
- qDebug() << "requesting paper replay at time" << time << "/" << (_session.endTime() - _session.startTime());
+ qDebug() << "requesting paper replay at time" << time << "/" << _session.duration();
nbview->requestPaperReplay(_session.fileName(), time);
event->accept();