Merge pull request #3336 from huffman/19995

Code Review for Job #19995
This commit is contained in:
Clément Brisset 2014-09-04 11:37:35 -07:00
commit cc6d70c5ab

View file

@ -1315,7 +1315,7 @@ void Application::dropEvent(QDropEvent *event) {
const QMimeData *mimeData = event->mimeData();
foreach (QUrl url, mimeData->urls()) {
if (url.url().toLower().endsWith(SNAPSHOT_EXTENSION)) {
snapshotPath = url.url().remove("file://");
snapshotPath = url.toLocalFile();
break;
}
}