update media logic to use different afc clients

This commit is contained in:
uncor3
2025-10-04 14:31:34 +00:00
parent 411ae160c2
commit 7f0b2d6136
11 changed files with 108 additions and 45 deletions
+2 -2
View File
@@ -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();
});