Skip to content


Fix compilation on Qt4
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Mar 12, 2019
1 parent 04768ee commit 97d5529
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/zynaddsubfx/ZynAddSubFx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <QDir>
#include <QDomDocument>
#include <QTemporaryFile>
#include <QtGlobal>
#include <QDropEvent>
#include <QGridLayout>
#include <QPushButton>
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 97d5529

Please sign in to comment.