| 1135 | } |
| 1136 | |
| 1137 | void |
| 1138 | SequenceDialogView::dropEvent(QDropEvent* e) |
| 1139 | { |
| 1140 | if ( !e->mimeData()->hasUrls() ) { |
| 1141 | return; |
| 1142 | } |
| 1143 | |
| 1144 | QStringList filesList; |
| 1145 | QList<QUrl> urls = e->mimeData()->urls(); |
| 1146 | QString path; |
| 1147 | if (urls.size() > 0) { |
| 1148 | path = QtCompat::toLocalFileUrlFixed( urls.at(0) ).path(); |
| 1149 | } |
| 1150 | if ( !path.isEmpty() ) { |
| 1151 | _fd->setDirectory(path); |
| 1152 | } |
| 1153 | } |
| 1154 | |
| 1155 | void |
| 1156 | SequenceDialogView::dragEnterEvent(QDragEnterEvent* e) |
nothing calls this directly
no test coverage detected