269 |
const QString& filter = filters.join(";;"); |
const QString& filter = filters.join(";;"); |
270 |
|
|
271 |
QString sInstrumentFile = QFileDialog::getOpenFileName(this, |
QString sInstrumentFile = QFileDialog::getOpenFileName(this, |
272 |
QSAMPLER_TITLE ": " + tr("Instrument files"), // Caption. |
tr("Instrument files"), // Caption. |
273 |
pOptions->sInstrumentDir, // Start here. |
pOptions->sInstrumentDir, // Start here. |
274 |
filter // File filter. |
filter // File filter. |
275 |
); |
); |
373 |
// Check if there's any pending changes... |
// Check if there's any pending changes... |
374 |
if (m_iDirtyCount > 0) { |
if (m_iDirtyCount > 0) { |
375 |
switch (QMessageBox::warning(this, |
switch (QMessageBox::warning(this, |
376 |
QSAMPLER_TITLE ": " + tr("Warning"), |
tr("Warning"), |
377 |
tr("Some channel settings have been changed.\n\n" |
tr("Some channel settings have been changed.\n\n" |
378 |
"Do you want to apply the changes?"), |
"Do you want to apply the changes?"), |
379 |
QMessageBox::Apply | |
QMessageBox::Apply | |