From: Soeren Apel Date: Sat, 25 Feb 2017 21:55:30 +0000 (+0100) Subject: Update sr_period_string usage X-Git-Tag: pulseview-0.4.0~175 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=634ecdcdad8c19ec27c879d3eae74c4d65030511;p=pulseview.git Update sr_period_string usage --- diff --git a/pv/binding/device.cpp b/pv/binding/device.cpp index 85315f1d..2253e70d 100644 --- a/pv/binding/device.cpp +++ b/pv/binding/device.cpp @@ -177,7 +177,7 @@ QString Device::print_timebase(Glib::VariantBase gvar) { uint64_t p, q; g_variant_get(gvar.gobj(), "(tt)", &p, &q); - return QString::fromUtf8(sr_period_string(p * q)); + return QString::fromUtf8(sr_period_string(p, q)); } QString Device::print_vdiv(Glib::VariantBase gvar)