summaryrefslogtreecommitdiff
path: root/src/yuzu/install_dialog.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-07-01 16:15:57 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-07-10 00:38:28 -0400
commit7f4d96d87332824643d7a8d3ff0fab7ea771b798 (patch)
tree2d1febc79d0411df29625e2d0d3fc0d0b2954a17 /src/yuzu/install_dialog.h
parent4c269e5ced47765f35dbb58afa9fcac8138a1f7c (diff)
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.
Diffstat (limited to 'src/yuzu/install_dialog.h')
-rw-r--r--src/yuzu/install_dialog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu/install_dialog.h b/src/yuzu/install_dialog.h
index 3eaa9e60a..55a458ba8 100644
--- a/src/yuzu/install_dialog.h
+++ b/src/yuzu/install_dialog.h
@@ -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;
-}; \ No newline at end of file
+};