From 6acfe995fac12da760f615c6cfdffe02e57d21b4 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Mon, 1 Jun 2020 17:45:21 +1000 Subject: [PATCH] timerange: use doubles instead of rationals when printing debug info Doubles are infinitely more readable and have been the vast majority of debug printing cases thus far. --- app/common/timerange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/timerange.cpp b/app/common/timerange.cpp index cd99a1bd4..33f92270c 100644 --- a/app/common/timerange.cpp +++ b/app/common/timerange.cpp @@ -241,6 +241,6 @@ OLIVE_NAMESPACE_EXIT QDebug operator<<(QDebug debug, const OLIVE_NAMESPACE::TimeRange &r) { - debug.nospace() << r.in() << " - " << r.out(); + debug.nospace() << r.in().toDouble() << " - " << r.out().toDouble(); return debug.space(); }