X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=test%2Fview%2Fruler.cpp;h=a6dd1c9aad19d92d7148101580f0a8c7f890a304;hp=400f845e52e3aeba85e2fd07ea8aabbf4f089372;hb=3ccf0f7f5b1b31ac628a983a2becee6f4c4c1507;hpb=adb3831eeae71b69bb035c9af713ea1f8623407f diff --git a/test/view/ruler.cpp b/test/view/ruler.cpp index 400f845..a6dd1c9 100644 --- a/test/view/ruler.cpp +++ b/test/view/ruler.cpp @@ -29,7 +29,7 @@ using namespace pv::view; namespace { QString format(const pv::util::Timestamp& t) { - return pv::util::format_si_value(t, "s", pv::util::SIPrefix::none, 6); + return pv::util::format_time_si(t, pv::util::SIPrefix::none, 6); } const double e = 0.0001;