diff options
| author | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2026-04-12 08:46:47 -0700 |
| commit | cd2dad3bc7ae0ee0a18b7b20a945009362ec3851 (patch) | |
| tree | 5a622ec4193e9bc899f6499f936848a661be29cb /RadioMetaType.cpp | |
| parent | 558c0b9d6ecf70c5222e2069ece1fea3656c75d7 (diff) | |
| parent | 291b3817bf0c7a742e9e17d42c94fc8c9530e40d (diff) | |
Merge branch 'debian/latest' into debian/trixie-backports
Diffstat (limited to 'RadioMetaType.cpp')
| -rw-r--r--[-rwxr-xr-x] | RadioMetaType.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/RadioMetaType.cpp b/RadioMetaType.cpp index 3010249e..ca54e9e5 100755..100644 --- 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"); + } +} |
