20 |
|
|
21 |
*****************************************************************************/ |
*****************************************************************************/ |
22 |
|
|
23 |
|
#include "qsamplerAbout.h" |
24 |
|
#include "qsamplerMainForm.h" |
25 |
|
|
26 |
#include <qmessagebox.h> |
#include <qmessagebox.h> |
27 |
#include <qfiledialog.h> |
#include <qfiledialog.h> |
28 |
#include <qfileinfo.h> |
#include <qfileinfo.h> |
30 |
#include <qptrlist.h> |
#include <qptrlist.h> |
31 |
#include <qpopupmenu.h> |
#include <qpopupmenu.h> |
32 |
|
|
|
#include "qsamplerMainForm.h" |
|
|
|
|
|
#include "config.h" |
|
|
|
|
33 |
|
|
34 |
// Kind of constructor. |
// Kind of constructor. |
35 |
void qsamplerDeviceForm::init (void) |
void qsamplerDeviceForm::init (void) |
239 |
// Prompt user if this is for real... |
// Prompt user if this is for real... |
240 |
qsamplerOptions *pOptions = m_pMainForm->options(); |
qsamplerOptions *pOptions = m_pMainForm->options(); |
241 |
if (pOptions && pOptions->bConfirmRemove) { |
if (pOptions && pOptions->bConfirmRemove) { |
242 |
if (QMessageBox::warning(this, tr("Warning"), |
if (QMessageBox::warning(this, |
243 |
|
QSAMPLER_TITLE ": " + tr("Warning"), |
244 |
tr("Delete device:\n\n" |
tr("Delete device:\n\n" |
245 |
"%1\n\n" |
"%1\n\n" |
246 |
"Are you sure?") |
"Are you sure?") |