diff options
Diffstat (limited to 'comms/wsjtz/files/patch-widgets_FrequencyLineEdit.cpp')
-rw-r--r-- | comms/wsjtz/files/patch-widgets_FrequencyLineEdit.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/wsjtz/files/patch-widgets_FrequencyLineEdit.cpp b/comms/wsjtz/files/patch-widgets_FrequencyLineEdit.cpp new file mode 100644 index 000000000000..10b456242781 --- /dev/null +++ b/comms/wsjtz/files/patch-widgets_FrequencyLineEdit.cpp @@ -0,0 +1,11 @@ +--- widgets/FrequencyLineEdit.cpp.orig 2021-02-01 18:08:30 UTC ++++ widgets/FrequencyLineEdit.cpp +@@ -39,7 +39,7 @@ namespace + FrequencyLineEdit::FrequencyLineEdit (QWidget * parent) + : QLineEdit (parent) + { +- setValidator (new MHzValidator {0., std::numeric_limits<Radio::Frequency>::max () / 10.e6, this}); ++ setValidator (new MHzValidator {0., (float)std::numeric_limits<Radio::Frequency>::max () / 10.e6, this}); + } + + auto FrequencyLineEdit::frequency () const -> Frequency |