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:
+2
-1
@@ -21,6 +21,7 @@
|
||||
#define GALLERYWIDGET_H
|
||||
|
||||
#include "iDescriptor.h"
|
||||
#include "photomodel.h"
|
||||
#include <QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
@@ -34,7 +35,6 @@ class QLabel;
|
||||
class QStandardItem;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class PhotoModel;
|
||||
class ExportManager;
|
||||
class ExportProgressDialog;
|
||||
|
||||
@@ -67,6 +67,7 @@ private:
|
||||
QIcon loadAlbumThumbnail(const QString &albumPath);
|
||||
void loadAlbumThumbnailAsync(const QString &albumPath, QStandardItem *item);
|
||||
void onPhotoContextMenu(const QPoint &pos);
|
||||
PhotoModel::FilterType getCurrentFilterType() const;
|
||||
|
||||
iDescriptorDevice *m_device;
|
||||
bool m_loaded = false;
|
||||
|
||||
Reference in New Issue
Block a user