20 |
|
|
21 |
*****************************************************************************/ |
*****************************************************************************/ |
22 |
|
|
23 |
|
#include "qsamplerAbout.h" |
24 |
|
#include "qsamplerOptions.h" |
25 |
|
|
26 |
#include <qvalidator.h> |
#include <qvalidator.h> |
27 |
#include <qmessagebox.h> |
#include <qmessagebox.h> |
28 |
#include <qfontdialog.h> |
#include <qfontdialog.h> |
29 |
|
|
|
#include "qsamplerOptions.h" |
|
|
|
|
|
#include "config.h" |
|
|
|
|
30 |
|
|
31 |
// Kind of constructor. |
// Kind of constructor. |
32 |
void qsamplerOptionsForm::init (void) |
void qsamplerOptionsForm::init (void) |
172 |
|
|
173 |
// Check if there's any pending changes... |
// Check if there's any pending changes... |
174 |
if (m_iDirtyCount > 0) { |
if (m_iDirtyCount > 0) { |
175 |
switch (QMessageBox::warning(this, tr("Warning"), |
switch (QMessageBox::warning(this, |
176 |
|
QSAMPLER_TITLE ": " + tr("Warning"), |
177 |
tr("Some settings have been changed.\n\n" |
tr("Some settings have been changed.\n\n" |
178 |
"Do you want to apply the changes?"), |
"Do you want to apply the changes?"), |
179 |
tr("Apply"), tr("Discard"), tr("Cancel"))) { |
tr("Apply"), tr("Discard"), tr("Cancel"))) { |