mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 20:25:47 +00:00
Refactor batch installing files
Key issues fixed: - Progress dialog showing up as white/hanging/getting stuck/unresponsive. Key changes: - Progress dialog now shows progress as a function of all files instead of per nca within a file. - Overwrite existing files will overwrite all files in the selection.
This commit is contained in:
parent
4c269e5ced
commit
7f4d96d873
4 changed files with 242 additions and 200 deletions
|
@ -20,8 +20,9 @@ public:
|
|||
explicit InstallDialog(QWidget* parent, const QStringList& files);
|
||||
~InstallDialog() override;
|
||||
|
||||
QStringList GetFilenames() const;
|
||||
QStringList GetFiles() const;
|
||||
bool ShouldOverwriteFiles() const;
|
||||
int GetMinimumWidth() const;
|
||||
|
||||
private:
|
||||
QListWidget* file_list;
|
||||
|
@ -32,4 +33,4 @@ private:
|
|||
QLabel* description;
|
||||
QCheckBox* overwrite_files;
|
||||
QDialogButtonBox* buttons;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue