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

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

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

revision 3558 by capela, Tue Aug 13 10:19:32 2019 UTC revision 3559 by capela, Thu Aug 22 18:58:38 2019 UTC
# Line 165  void ChannelForm::setup ( Channel *pChan Line 165  void ChannelForm::setup ( Channel *pChan
165    
166          // It can be a brand new channel, remember?          // It can be a brand new channel, remember?
167          const bool bNew = (m_pChannel->channelID() < 0);          const bool bNew = (m_pChannel->channelID() < 0);
168          setWindowTitle(QSAMPLER_TITLE ": " + m_pChannel->channelName());          setWindowTitle(m_pChannel->channelName());
169    
170          // Check if we're up and connected.          // Check if we're up and connected.
171          MainForm *pMainForm = MainForm::getInstance();          MainForm *pMainForm = MainForm::getInstance();
# Line 461  void ChannelForm::reject (void) Line 461  void ChannelForm::reject (void)
461          // Check if there's any pending changes...          // Check if there's any pending changes...
462          if (m_iDirtyCount > 0) {          if (m_iDirtyCount > 0) {
463                  switch (QMessageBox::warning(this,                  switch (QMessageBox::warning(this,
464                          QSAMPLER_TITLE ": " + tr("Warning"),                          tr("Warning"),
465                          tr("Some channel settings have been changed.\n\n"                          tr("Some channel settings have been changed.\n\n"
466                          "Do you want to apply the changes?"),                          "Do you want to apply the changes?"),
467                          QMessageBox::Apply |                          QMessageBox::Apply |
# Line 510  void ChannelForm::openInstrumentFile (vo Line 510  void ChannelForm::openInstrumentFile (vo
510          const QString& filter = filters.join(";;");          const QString& filter = filters.join(";;");
511    
512          QString sInstrumentFile = QFileDialog::getOpenFileName(this,          QString sInstrumentFile = QFileDialog::getOpenFileName(this,
513                  QSAMPLER_TITLE ": " + tr("Instrument files"), // Caption.                  tr("Instrument files"),   // Caption.
514                  pOptions->sInstrumentDir, // Start here.                  pOptions->sInstrumentDir, // Start here.
515                  filter                    // File filter.                  filter                    // File filter.
516          );          );

Legend:
Removed from v.3558  
changed lines
  Added in v.3559

  ViewVC Help
Powered by ViewVC