--- qsampler/trunk/src/qsamplerInstrumentList.cpp 2007/11/19 21:08:18 1492 +++ qsampler/trunk/src/qsamplerInstrumentList.cpp 2007/11/20 16:48:04 1499 @@ -29,14 +29,12 @@ #include "qsamplerOptions.h" #include "qsamplerMainForm.h" -#include -#include -#include -#include -#include -#include - +#include +#include #include +#include +#include +#include // Needed for lroundf() #include @@ -236,7 +234,7 @@ const int iProg = pInstrs[iInstr].prog; addInstrument(iMap, iBank, iProg); // Try to keep it snappy :) - QApplication::processEvents(QEventLoop::ExcludeUserInput); + QApplication::processEvents(QEventLoop::ExcludeUserInputEvents); } QApplication::restoreOverrideCursor();