diff options
| author | hibby <d@vehibberd.com> | 2026-10-06 21:24:40 +0100 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2026-10-06 21:24:40 +0100 |
| commit | c25cbdf6fb6d946175f4335fab77bfea601b56db (patch) | |
| tree | 6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /map65/Radio.cpp | |
| parent | 71f5689252c9f13e70e1c24856904475b2307809 (diff) | |
| parent | 0685fcada9f95fe90f70b387cd7d757da8209624 (diff) | |
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'map65/Radio.cpp')
| -rw-r--r-- | map65/Radio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/map65/Radio.cpp b/map65/Radio.cpp index 5ee29040..e90f5b3f 100644 --- a/map65/Radio.cpp +++ b/map65/Radio.cpp @@ -33,7 +33,7 @@ namespace Radio Frequency frequency (QVariant const& v, int scale, bool * ok, QLocale const& locale) { double value {0.}; - if (QVariant::String == v.type ()) + if (QMetaType::QString == v.userType()) { value = locale.toDouble (v.value<QString> (), ok); } @@ -70,7 +70,7 @@ namespace Radio FrequencyDelta frequency_delta (QVariant const& v, int scale, bool * ok, QLocale const& locale) { double value {0.}; - if (QVariant::String == v.type ()) + if (QMetaType::QString == v.userType()) { value = locale.toDouble (v.value<QString> (), ok); } |
