/[svn]/qsampler/trunk/src/qsamplerInstrumentForm.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerInstrumentForm.cpp

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

revision 1558 by capela, Thu Dec 6 09:35:33 2007 UTC revision 1840 by capela, Thu Feb 19 11:44:57 2009 UTC
# Line 1  Line 1 
1  // qsamplerInstrumentForm.cpp  // qsamplerInstrumentForm.cpp
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2003-2007, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2003-2009, rncbc aka Rui Nuno Capela. All rights reserved.
5     Copyright (C) 2007, Christian Schoenebeck     Copyright (C) 2007, Christian Schoenebeck
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
# Line 369  void InstrumentForm::reject (void) Line 369  void InstrumentForm::reject (void)
369                          QSAMPLER_TITLE ": " + tr("Warning"),                          QSAMPLER_TITLE ": " + tr("Warning"),
370                          tr("Some channel settings have been changed.\n\n"                          tr("Some channel settings have been changed.\n\n"
371                          "Do you want to apply the changes?"),                          "Do you want to apply the changes?"),
372                          tr("Apply"), tr("Discard"), tr("Cancel"))) {                          QMessageBox::Apply |
373                  case 0:     // Apply...                          QMessageBox::Discard |
374                            QMessageBox::Cancel)) {
375                    case QMessageBox::Apply:
376                          accept();                          accept();
377                          return;                          return;
378                  case 1:     // Discard                  case QMessageBox::Discard:
379                          break;                          break;
380                  default:    // Cancel.                  default:    // Cancel.
381                          bReject = false;                          bReject = false;

Legend:
Removed from v.1558  
changed lines
  Added in v.1840

  ViewVC Help
Powered by ViewVC