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) |