diff options
| author | Christoph Berg <myon@debian.org> | 2025-09-16 12:37:12 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2025-09-16 12:57:29 +0200 |
| commit | 5a4967c577ad245a2117b7b2f71c13b1212fe285 (patch) | |
| tree | 4d09343cfe757239895a0dd9b399242d2a07d7c2 /RadioMetaType.cpp | |
| parent | 23c903a09fb1d73fd20b50323cd80cfb3aba8799 (diff) | |
Merge 2.7 changes, I had uploaded -1 from the wrong branch.debian/3.0.0_rc1+repack-2
Diffstat (limited to 'RadioMetaType.cpp')
| -rwxr-xr-x | RadioMetaType.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/RadioMetaType.cpp b/RadioMetaType.cpp index ca54e9e5..3010249e 100755 --- a/RadioMetaType.cpp +++ b/RadioMetaType.cpp @@ -1,20 +1,20 @@ -#include "Radio.hpp" - -#include <QMetaType> -#include <QDebug> -#include <QDataStream> - -namespace Radio -{ - void register_types () - { - qRegisterMetaType<Radio::Frequency> ("Frequency"); - qRegisterMetaType<Radio::FrequencyDelta> ("FrequencyDelta"); - qRegisterMetaType<Radio::Frequencies> ("Frequencies"); - - // This is required to preserve v1.5 "frequencies" setting for - // backwards compatibility, without it the setting gets trashed - // by later versions. - qRegisterMetaTypeStreamOperators<Radio::Frequencies> ("Frequencies"); - } -} +#include "Radio.hpp"
+
+#include <QMetaType>
+#include <QDebug>
+#include <QDataStream>
+
+namespace Radio
+{
+ void register_types ()
+ {
+ qRegisterMetaType<Radio::Frequency> ("Frequency");
+ qRegisterMetaType<Radio::FrequencyDelta> ("FrequencyDelta");
+ qRegisterMetaType<Radio::Frequencies> ("Frequencies");
+
+ // This is required to preserve v1.5 "frequencies" setting for
+ // backwards compatibility, without it the setting gets trashed
+ // by later versions.
+ qRegisterMetaTypeStreamOperators<Radio::Frequencies> ("Frequencies");
+ }
+}
|
