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

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

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

revision 2074 by capela, Mon Mar 29 17:00:30 2010 UTC revision 2108 by capela, Thu Jul 15 08:03:32 2010 UTC
# Line 29  Line 29 
29    
30  #include <QMessageBox>  #include <QMessageBox>
31  #include <QDragEnterEvent>  #include <QDragEnterEvent>
32    #include <QFileInfo>
33  #include <QTimer>  #include <QTimer>
34  #include <QUrl>  #include <QUrl>
35    
# Line 157  void ChannelStrip::dragEnterEvent ( QDra Line 158  void ChannelStrip::dragEnterEvent ( QDra
158                          while (iter.hasNext()) {                          while (iter.hasNext()) {
159                                  const QString& sFilename = iter.next().toLocalFile();                                  const QString& sFilename = iter.next().toLocalFile();
160                                  if (!sFilename.isEmpty()) {                                  if (!sFilename.isEmpty()) {
161                                          bAccept = Channel::isInstrumentFile(sFilename);                                  //      bAccept = Channel::isDlsInstrumentFile(sFilename);
162                                            bAccept = QFileInfo(sFilename).exists();
163                                          break;                                          break;
164                                  }                                  }
165                          }                          }

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

  ViewVC Help
Powered by ViewVC