mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
use low level apis to generate video thumbnail & remove unnecessary code
- Adjusted status bar layout in MainWindow to include app version label. - Enhanced video thumbnail generation in PhotoModel using FFmpeg for better performance and resource management. - Streamlined MediaStreamerManager to ensure proper cleanup and thread safety. - Updated ServiceManager to include safe methods for retrieving file info and handling AFC operations. - Removed get_device_version - Cleaned up code and improved readability across multiple files. - Passed correct args to ZUpdater
This commit is contained in:
+1
-1
@@ -352,7 +352,6 @@ void iFuseWidget::onProcessFinished(int exitCode,
|
||||
"Device mounted successfully at: " + m_currentMountPath, false);
|
||||
|
||||
auto *b = new iFuseDiskUnmountButton(m_currentMountPath);
|
||||
MainWindow::sharedInstance()->statusBar()->addPermanentWidget(b);
|
||||
QProcess *processToKill = m_ifuseProcess;
|
||||
QString currentMountPath = m_currentMountPath;
|
||||
connect(b, &iFuseDiskUnmountButton::clicked, this,
|
||||
@@ -369,6 +368,7 @@ void iFuseWidget::onProcessFinished(int exitCode,
|
||||
MainWindow::sharedInstance()->statusBar()->removeWidget(b);
|
||||
b->deleteLater();
|
||||
});
|
||||
MainWindow::sharedInstance()->statusBar()->addPermanentWidget(b);
|
||||
QDesktopServices::openUrl(QUrl::fromLocalFile(currentMountPath));
|
||||
} else {
|
||||
QString errorOutput = m_ifuseProcess->readAllStandardError();
|
||||
|
||||
Reference in New Issue
Block a user