Skip to content

Commit 97d5529

Browse files
committed
Fix compilation on Qt4
1 parent 04768ee commit 97d5529

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

plugins/zynaddsubfx/ZynAddSubFx.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include <QDir>
2828
#include <QDomDocument>
2929
#include <QTemporaryFile>
30+
#include <QtGlobal>
3031
#include <QDropEvent>
3132
#include <QGridLayout>
3233
#include <QPushButton>
@@ -291,7 +292,10 @@ void ZynAddSubFxInstrument::loadSettings( const QDomElement & _this )
291292

292293
emit settingsChanged();
293294
}
295+
// FIXME: Remove this check in future versions. Slots are public in Qt5+
296+
#if QT_VERSION >= 0x050000
294297
emit instrumentTrack()->pitchModel()->dataChanged();
298+
#endif
295299
}
296300

297301

0 commit comments

Comments
 (0)