1
0

feat: add prev and next button

This commit is contained in:
Gary Wang
2020-07-04 13:49:12 +08:00
parent 3b1af64397
commit fb24e54579
9 changed files with 221 additions and 13 deletions

View File

@@ -242,7 +242,7 @@ void GraphicsView::dropEvent(QDropEvent *event)
if (urls.isEmpty()) {
showText(tr("File url list is empty"));
} else {
showFileFromUrl(urls.first());
showFileFromUrl(urls.first(), true);
}
} else if (mimeData->hasImage()) {
QImage img = qvariant_cast<QImage>(mimeData->imageData());