diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-05-30 10:09:51 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2020-05-30 10:09:51 +0000 |
commit | 22cc11da1a9097f79891446f96ca0c99684aa1be (patch) | |
tree | 429028b61aa913714d95c78bb96de0d814952ecf /science/pulseview/files/patch-pv_util.cpp | |
parent | sysutils/password-store: fix package name for QRENCODE option (diff) |
science/pulseview: prepare for Qt5-5.15
Notes
Notes:
svn path=/head/; revision=537074
Diffstat (limited to 'science/pulseview/files/patch-pv_util.cpp')
-rw-r--r-- | science/pulseview/files/patch-pv_util.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/science/pulseview/files/patch-pv_util.cpp b/science/pulseview/files/patch-pv_util.cpp new file mode 100644 index 000000000000..15d09b7b7b6a --- /dev/null +++ b/science/pulseview/files/patch-pv_util.cpp @@ -0,0 +1,20 @@ +--- pv/util.cpp.orig 2020-05-30 09:57:56 UTC ++++ pv/util.cpp +@@ -137,7 +137,7 @@ QString format_time_si(const Timestamp& v, SIPrefix pr + QString s; + QTextStream ts(&s); + if (sign && !v.is_zero()) +- ts << forcesign; ++ ts << Qt::forcesign; + ts << qSetRealNumberPrecision(precision) << (v * multiplier); + ts << ' ' << prefix << unit; + +@@ -175,7 +175,7 @@ QString format_value_si(double v, SIPrefix prefix, uns + QString s; + QTextStream ts(&s); + if (sign && (v != 0)) +- ts << forcesign; ++ ts << Qt::forcesign; + ts.setRealNumberNotation(QTextStream::FixedNotation); + ts.setRealNumberPrecision(precision); + ts << (v * multiplier) << ' ' << prefix << unit; |