1 |
// qsamplerOptionsForm.cpp |
// qsamplerOptionsForm.cpp |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2008, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-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 |
341 |
QSAMPLER_TITLE ": " + tr("Warning"), |
QSAMPLER_TITLE ": " + tr("Warning"), |
342 |
tr("Some settings have been changed.\n\n" |
tr("Some settings have been changed.\n\n" |
343 |
"Do you want to apply the changes?"), |
"Do you want to apply the changes?"), |
344 |
tr("Apply"), tr("Discard"), tr("Cancel"))) { |
QMessageBox::Apply | |
345 |
case 0: // Apply... |
QMessageBox::Discard | |
346 |
|
QMessageBox::Cancel)) { |
347 |
|
case QMessageBox::Apply: |
348 |
accept(); |
accept(); |
349 |
return; |
return; |
350 |
case 1: // Discard |
case QMessageBox::Discard: |
351 |
break; |
break; |
352 |
default: // Cancel. |
default: // Cancel. |
353 |
bReject = false; |
bReject = false; |