summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-09-23 21:07:27 +0200
committerGitHub <noreply@github.com>2020-09-23 21:07:27 +0200
commitc307ae2402fbe027020c697c1ca27c1966b5c1aa (patch)
tree36fbf209e09c8ea56d5738735828bdcd9e7856d6
parentMerge pull request #4700 from lioncash/copies (diff)
parentinstall_dialog: Make use of [[nodiscard]] where applicable (diff)
downloadyuzu-c307ae2402fbe027020c697c1ca27c1966b5c1aa.tar
yuzu-c307ae2402fbe027020c697c1ca27c1966b5c1aa.tar.gz
yuzu-c307ae2402fbe027020c697c1ca27c1966b5c1aa.tar.bz2
yuzu-c307ae2402fbe027020c697c1ca27c1966b5c1aa.tar.lz
yuzu-c307ae2402fbe027020c697c1ca27c1966b5c1aa.tar.xz
yuzu-c307ae2402fbe027020c697c1ca27c1966b5c1aa.tar.zst
yuzu-c307ae2402fbe027020c697c1ca27c1966b5c1aa.zip
-rw-r--r--src/yuzu/install_dialog.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/yuzu/install_dialog.h b/src/yuzu/install_dialog.h
index e4aba1b06..68e03fe4e 100644
--- a/src/yuzu/install_dialog.h
+++ b/src/yuzu/install_dialog.h
@@ -20,9 +20,8 @@ public:
explicit InstallDialog(QWidget* parent, const QStringList& files);
~InstallDialog() override;
- QStringList GetFiles() const;
- bool ShouldOverwriteFiles() const;
- int GetMinimumWidth() const;
+ [[nodiscard]] QStringList GetFiles() const;
+ [[nodiscard]] int GetMinimumWidth() const;
private:
QListWidget* file_list;