mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
update media logic to use different afc clients
This commit is contained in:
@@ -139,8 +139,8 @@ void GalleryWidget::setupUI()
|
||||
return;
|
||||
|
||||
qDebug() << "Opening preview for" << filePath;
|
||||
auto *previewDialog =
|
||||
new MediaPreviewDialog(m_device, filePath, this);
|
||||
auto *previewDialog = new MediaPreviewDialog(
|
||||
m_device, m_device->afcClient, filePath, this);
|
||||
previewDialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||
previewDialog->show();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user