projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a mechanism to make ViewItem classes immovable.
[pulseview.git]
/
pv
/
widgets
/
timestampspinbox.cpp
diff --git
a/pv/widgets/timestampspinbox.cpp
b/pv/widgets/timestampspinbox.cpp
index 59af82f65407629b0937ec66bc14308b190188d1..233ff6484f562b9d723a0bd74a9e587c82fc686d 100644
(file)
--- a/
pv/widgets/timestampspinbox.cpp
+++ b/
pv/widgets/timestampspinbox.cpp
@@
-113,8
+113,8
@@
void TimestampSpinBox::on_editingFinished()
void TimestampSpinBox::updateEdit()
{
void TimestampSpinBox::updateEdit()
{
- QString newtext = pv::util::format_
si_value
(
- value_,
"s",
pv::util::SIPrefix::none, precision_);
+ QString newtext = pv::util::format_
time_si
(
+ value_, pv::util::SIPrefix::none, precision_);
lineEdit()->setText(newtext);
}
lineEdit()->setText(newtext);
}