mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
detect recovery devices, cleanup code , use const pointers wherever possible, refactor img thumbnail loading, refactor gallery widget
This commit is contained in:
@@ -32,7 +32,7 @@ class DevDiskImageHelper : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DevDiskImageHelper(iDescriptorDevice *device,
|
||||
explicit DevDiskImageHelper(const iDescriptorDevice *device,
|
||||
QWidget *parent = nullptr);
|
||||
|
||||
// Start the mounting process
|
||||
@@ -55,10 +55,10 @@ private:
|
||||
void showStatus(const QString &message, bool isError = false);
|
||||
void showMountUI();
|
||||
void showRetryUI(const QString &errorMessage);
|
||||
void finishWithSuccess();
|
||||
void finishWithSuccess(bool wait = false);
|
||||
void finishWithError(const QString &errorMessage);
|
||||
|
||||
iDescriptorDevice *m_device;
|
||||
const iDescriptorDevice *m_device;
|
||||
|
||||
QLabel *m_statusLabel;
|
||||
QProcessIndicator *m_loadingIndicator;
|
||||
|
||||
Reference in New Issue
Block a user