Fix compilation for Qt 5.0

This commit is contained in:
Lukas W
2015-06-21 15:41:26 +02:00
parent baf883d808
commit 8b0b2df38e
15 changed files with 58 additions and 24 deletions

View File

@@ -1060,7 +1060,7 @@ void GigInstrumentView::showFileDialog()
QStringList types;
types << tr( "GIG Files (*.gig)" );
ofd.setFilters( types );
ofd.setNameFilters( types );
QString dir;
if( k->m_filename != "" )

View File

@@ -469,7 +469,11 @@ int lb302Synth::process(sampleFrame *outbuf, const int size)
float samp;
// Hold on to the current VCF, and use it throughout this period
#if QT_VERSION >= 0x050000
lb302Filter *filter = vcf.loadAcquire();
#else
lb302Filter *filter = vcf;
#endif
if( release_frame == 0 || ! m_playingNote )
{