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

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

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

revision 2077 by capela, Wed Mar 31 09:07:30 2010 UTC revision 2108 by capela, Thu Jul 15 08:03:32 2010 UTC
# Line 545  void MainForm::dropEvent ( QDropEvent* p Line 545  void MainForm::dropEvent ( QDropEvent* p
545                  QListIterator<QUrl> iter(pMimeData->urls());                  QListIterator<QUrl> iter(pMimeData->urls());
546                  while (iter.hasNext()) {                  while (iter.hasNext()) {
547                          const QString& sPath = iter.next().toLocalFile();                          const QString& sPath = iter.next().toLocalFile();
548                          if (Channel::isInstrumentFile(sPath)) {                  //      if (Channel::isDlsInstrumentFile(sPath)) {
549                            if (QFileInfo(sPath).exists()) {
550                                  // Try to create a new channel from instrument file...                                  // Try to create a new channel from instrument file...
551                                  Channel *pChannel = new Channel();                                  Channel *pChannel = new Channel();
552                                  if (pChannel == NULL)                                  if (pChannel == NULL)

Legend:
Removed from v.2077  
changed lines
  Added in v.2108

  ViewVC Help
Powered by ViewVC