mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 13:12:46 +00:00
install_dialog: Make use of [[nodiscard]] where applicable
Allows the compiler to warn against cases where the return value isn't used (which would be a bug).
This commit is contained in:
parent
e107870bc8
commit
aa35e51fcd
|
@ -20,8 +20,8 @@ public:
|
||||||
explicit InstallDialog(QWidget* parent, const QStringList& files);
|
explicit InstallDialog(QWidget* parent, const QStringList& files);
|
||||||
~InstallDialog() override;
|
~InstallDialog() override;
|
||||||
|
|
||||||
QStringList GetFiles() const;
|
[[nodiscard]] QStringList GetFiles() const;
|
||||||
int GetMinimumWidth() const;
|
[[nodiscard]] int GetMinimumWidth() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QListWidget* file_list;
|
QListWidget* file_list;
|
||||||
|
|
Loading…
Reference in a new issue