summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@qt.io>2018-10-23 11:28:20 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2018-10-29 13:21:31 +0000
commit74b9664a322dd69361d5da7dbdca2441ce469347 (patch)
treedebab0d4af8efb42c4e6c0d96944ee908ef306c4
parent21f77ef9324bcc3d1f4206bc9d2e4b02cf118004 (diff)
Make the output for time events say "at" instead of "after"
Change-Id: I6472bc685562382328fcf0a6777271100bb2fcc8 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
-rw-r--r--src/runtime/q3dsslideplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/q3dsslideplayer.cpp b/src/runtime/q3dsslideplayer.cpp
index e873878..c82b81b 100644
--- a/src/runtime/q3dsslideplayer.cpp
+++ b/src/runtime/q3dsslideplayer.cpp
@@ -918,7 +918,7 @@ void Q3DSSlidePlayer::sendPositionChanged(Q3DSSlide *slide, float pos)
&& timeLeft < 0.1f;
if (onEOS) {
- qCDebug(lcSlidePlayer, "Reached EOS after %.1fs", pos / 1000.f);
+ qCDebug(lcSlidePlayer, "Reached EOS at %.1fs", pos / 1000.f);
onSlideFinished(slide);
}
}
@@ -931,7 +931,7 @@ void Q3DSSlidePlayer::updateObjectVisibility(Q3DSGraphObject *obj, bool shouldBe
const bool updateValue = (!insertValue && foundIt.value() != shouldBeVisible);
if (insertValue || updateValue) {
- qCDebug(lcSlidePlayer, "Scheduling object \"%s\" to be %s after %.1fs", obj->id().constData(), shouldBeVisible ? "shown" : "hidden", (time < 0.0f) ? time : (time / 1000.f));
+ qCDebug(lcSlidePlayer, "Scheduling object \"%s\" to be %s at %.1fs", obj->id().constData(), shouldBeVisible ? "shown" : "hidden", (time < 0.0f) ? time : (time / 1000.f));
if (updateValue)
*foundIt = shouldBeVisible;
else if (insertValue)