From 97d5529c18bee51d638607a192ab91b131d41086 Mon Sep 17 00:00:00 2001 From: tresf Date: Tue, 12 Mar 2019 00:25:17 -0400 Subject: [PATCH] Fix compilation on Qt4 --- plugins/zynaddsubfx/ZynAddSubFx.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/zynaddsubfx/ZynAddSubFx.cpp b/plugins/zynaddsubfx/ZynAddSubFx.cpp index a75d573a8..e929f7c19 100644 --- a/plugins/zynaddsubfx/ZynAddSubFx.cpp +++ b/plugins/zynaddsubfx/ZynAddSubFx.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -291,7 +292,10 @@ void ZynAddSubFxInstrument::loadSettings( const QDomElement & _this ) emit settingsChanged(); } +// FIXME: Remove this check in future versions. Slots are public in Qt5+ +#if QT_VERSION >= 0x050000 emit instrumentTrack()->pitchModel()->dataChanged(); +#endif }