Skip to content
Permalink
Browse files

Fix compilation on Qt4

  • Loading branch information...
tresf committed Mar 12, 2019
1 parent 04768ee commit 97d5529c18bee51d638607a192ab91b131d41086
Showing with 4 additions and 0 deletions.
  1. +4 −0 plugins/zynaddsubfx/ZynAddSubFx.cpp
@@ -27,6 +27,7 @@
#include <QDir>
#include <QDomDocument>
#include <QTemporaryFile>
#include <QtGlobal>
#include <QDropEvent>
#include <QGridLayout>
#include <QPushButton>
@@ -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
}


0 comments on commit 97d5529

Please sign in to comment.
You can’t perform that action at this time.