diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2018-12-27 04:16:38 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2018-12-27 04:16:38 +0000 |
commit | 1fa24a68ea3111dee2c1c45e6f98f42df94880b4 (patch) | |
tree | 577e630609eef5cbe4eaf5008f5bc84c349bf803 /audio/mixxx21/files/patch-src_controllers_controllerpresetfilehandler.cpp | |
parent | - Update to 1.42.0 (diff) |
- Copy audio/mixxx to audio/mixxx21. audio/mixxx was updated to latest stable
version. Now this is a previous stable version
Notes
Notes:
svn path=/head/; revision=488505
Diffstat (limited to 'audio/mixxx21/files/patch-src_controllers_controllerpresetfilehandler.cpp')
-rw-r--r-- | audio/mixxx21/files/patch-src_controllers_controllerpresetfilehandler.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/mixxx21/files/patch-src_controllers_controllerpresetfilehandler.cpp b/audio/mixxx21/files/patch-src_controllers_controllerpresetfilehandler.cpp new file mode 100644 index 000000000000..464b33c32d4b --- /dev/null +++ b/audio/mixxx21/files/patch-src_controllers_controllerpresetfilehandler.cpp @@ -0,0 +1,14 @@ +--- src/controllers/controllerpresetfilehandler.cpp.orig 2015-12-29 16:10:41 UTC ++++ src/controllers/controllerpresetfilehandler.cpp +@@ -43,7 +43,11 @@ ControllerPresetPointer ControllerPreset + pHandler = new MidiControllerPresetFileHandler(); + } else if (scriptPath.endsWith(HID_PRESET_EXTENSION, Qt::CaseInsensitive) || + scriptPath.endsWith(BULK_PRESET_EXTENSION, Qt::CaseInsensitive)) { ++#if __HID__ + pHandler = new HidControllerPresetFileHandler(); ++#else ++ return ControllerPresetPointer(); ++#endif + } + + if (pHandler == NULL) { |