diff options
author | Uwe Klotz <uklotz@mixxx.org> | 2021-10-13 18:06:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 18:06:16 +0200 |
commit | 6c15c2c4b1593f667d7fe22255b9f24cc9a99d5a (patch) | |
tree | 738f7a4fa74fea1f0a9bb492109cbf49e7e65ddd | |
parent | e36f63fc7346d050c4d6ab2cce947e41b93a6cd5 (diff) | |
parent | d5b86e305dc092ffc995facc1cdefb7efd757ac9 (diff) |
Merge pull request #4404 from Be-ing/registercomparitors
MixxxApplication: guard registerComparators behind Qt verison check
-rw-r--r-- | src/mixxxapplication.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mixxxapplication.cpp b/src/mixxxapplication.cpp index 97361e22e9..6067fc156d 100644 --- a/src/mixxxapplication.cpp +++ b/src/mixxxapplication.cpp @@ -93,7 +93,9 @@ void MixxxApplication::registerMetaTypes() { // Sound devices qRegisterMetaType<SoundDeviceId>(); +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) QMetaType::registerComparators<SoundDeviceId>(); +#endif // Various custom data types qRegisterMetaType<mixxx::ReplayGain>("mixxx::ReplayGain"); |