~mixxxdevelopers/mixxx/features_rubberband

« back to all changes in this revision

Viewing changes to mixxx/src/widget/wglwaveformviewer.cpp

  • Committer: Albert Santoni
  • Date: 2010-02-24 12:53:50 UTC
  • Revision ID: alberts@mixxx.org-20100224125350-4aclmqz4kyz3eu5e
* Added a fix for this that lets you drag and drop from the library to waveform on Windows when files are on weird disks (eg. L:\). Sort of related to bug #325337...

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
        QList<QUrl> urls(event->mimeData()->urls());
155
155
        QUrl url = urls.first();
156
156
        QString name = url.toLocalFile();
 
157
        //If the file is on a network share, try just converting the URL to a string...
 
158
        if (name == "")
 
159
            name = url.toString(); 
157
160
 
158
161
        event->accept();
159
162
        emit(trackDropped(name));