diff options
author | timoreo <contact@timoreo.fr> | 2022-09-26 11:50:31 +0200 |
---|---|---|
committer | timoreo <contact@timoreo.fr> | 2022-09-26 11:50:31 +0200 |
commit | 9ff364b0d3c12f9138037cce585c03c850721b82 (patch) | |
tree | 3404fb8ba162275b8eac6678c12832c3ec2a0936 /launcher/InstanceTask.h | |
parent | 4f6d964217f6addd4f29969168a7d40ed4729dde (diff) | |
download | PrismLauncher-9ff364b0d3c12f9138037cce585c03c850721b82.tar.gz PrismLauncher-9ff364b0d3c12f9138037cce585c03c850721b82.tar.bz2 PrismLauncher-9ff364b0d3c12f9138037cce585c03c850721b82.zip |
huge nit: added const refs, everywhere
Signed-off-by: timoreo <contact@timoreo.fr>
Diffstat (limited to 'launcher/InstanceTask.h')
-rw-r--r-- | launcher/InstanceTask.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/InstanceTask.h b/launcher/InstanceTask.h index 0987b557..e35533fc 100644 --- a/launcher/InstanceTask.h +++ b/launcher/InstanceTask.h @@ -5,7 +5,7 @@ /* Helpers */ enum class InstanceNameChange { ShouldChange, ShouldKeep }; -[[nodiscard]] InstanceNameChange askForChangingInstanceName(QWidget* parent, QString old_name, QString new_name); +[[nodiscard]] InstanceNameChange askForChangingInstanceName(QWidget* parent, const QString& old_name, const QString& new_name); struct InstanceName { public: |