/[svn]/qsampler/trunk/src/qsamplerMainForm.ui.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerMainForm.ui.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 961 by capela, Sun Dec 3 18:26:13 2006 UTC revision 969 by capela, Wed Dec 6 19:38:02 2006 UTC
# Line 230  void qsamplerMainForm::setup ( qsamplerO Line 230  void qsamplerMainForm::setup ( qsamplerO
230    
231      // What style do we create these forms?      // What style do we create these forms?
232          Qt::WFlags wflags = Qt::WStyle_Customize          Qt::WFlags wflags = Qt::WStyle_Customize
233                    | Qt::WStyle_NormalBorder
234                  | Qt::WStyle_Title                  | Qt::WStyle_Title
235                  | Qt::WStyle_SysMenu                  | Qt::WStyle_SysMenu
236                  | Qt::WStyle_MinMax                  | Qt::WStyle_MinMax
# Line 851  bool qsamplerMainForm::saveSessionFile ( Line 852  bool qsamplerMainForm::saveSessionFile (
852          // MIDI instrument mapping...          // MIDI instrument mapping...
853          lscp_midi_instrument_t *pInstrs = ::lscp_list_midi_instruments(m_pClient);          lscp_midi_instrument_t *pInstrs = ::lscp_list_midi_instruments(m_pClient);
854          if (pInstrs)          if (pInstrs)
855          ts << "# " << tr("MIDI instrument mapping") << endl;                  ts << "# " << tr("MIDI instrument mapping") << endl;
856          for (int iInstr = 0; pInstrs && pInstrs[iInstr].program >= 0; iInstr++) {          for (int iInstr = 0; pInstrs && pInstrs[iInstr].program >= 0; iInstr++) {
857                  lscp_midi_instrument_info_t *pInstrInfo                  lscp_midi_instrument_info_t *pInstrInfo
858                          = ::lscp_get_midi_instrument_info(m_pClient, &pInstrs[iInstr]);                          = ::lscp_get_midi_instrument_info(m_pClient, &pInstrs[iInstr]);
# Line 881  bool qsamplerMainForm::saveSessionFile ( Line 882  bool qsamplerMainForm::saveSessionFile (
882                                  ts << " '" << pInstrInfo->name << "'";                                  ts << " '" << pInstrInfo->name << "'";
883                          ts << endl;                          ts << endl;
884                  }                  }
885                  ts << endl;                  // Try to keep it snappy :)
886          // Try to keep it snappy :)                  QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput);
         QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput);  
887          }          }
888            if (pInstrs)
889                    ts << endl;
890  #endif //  CONFIG_MIDI_INSTRUMENT  #endif //  CONFIG_MIDI_INSTRUMENT
891    
892      // Ok. we've wrote it.      // Ok. we've wrote it.

Legend:
Removed from v.961  
changed lines
  Added in v.969

  ViewVC Help
Powered by ViewVC