From d6ff89af68e97512c42454dec123e3f380bd5356 Mon Sep 17 00:00:00 2001 From: Dave French Date: Fri, 12 Jun 2015 20:46:04 +0100 Subject: [PATCH] Remove MessageBox waring of incomplete stk instalation from mallets The merge of stable 1.1 into master introduced the messagebox into the incorrect place in the code. It is alrady present in the correct place in master, so simply removed the extra instance. This stops the segfault and fixes #1660 --- plugins/stk/mallets/mallets.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/plugins/stk/mallets/mallets.cpp b/plugins/stk/mallets/mallets.cpp index 2818feffd..f15f33293 100644 --- a/plugins/stk/mallets/mallets.cpp +++ b/plugins/stk/mallets/mallets.cpp @@ -81,16 +81,6 @@ malletsInstrument::malletsInstrument( InstrumentTrack * _instrument_track ): !QFileInfo( ConfigManager::inst()->stkDir() + QDir::separator() + "sinewave.raw" ).exists() ) { - // try to inform user about missing Stk-installation - if( m_filesMissing && Engine::hasGUI() ) - { - QMessageBox::information( 0, tr( "Missing files" ), - tr( "Your Stk-installation seems to be " - "incomplete. Please make sure " - "the full Stk-package is installed!" ), - QMessageBox::Ok ); - } - // ModalBar m_presetsModel.addItem( tr( "Marimba" ) ); m_scalers.append( 4.0 );