Skip to content

Commit

Permalink
Merge pull request #4404 from Be-ing/registercomparitors
Browse files Browse the repository at this point in the history
MixxxApplication: guard registerComparators behind Qt verison check
  • Loading branch information
uklotzde authored Oct 13, 2021
2 parents e36f63f + d5b86e3 commit 6c15c2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mixxxapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 6c15c2c

Please sign in to comment.