aboutsummaryrefslogtreecommitdiff
path: root/launcher/InstanceCopyPrefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/InstanceCopyPrefs.h')
-rw-r--r--launcher/InstanceCopyPrefs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/launcher/InstanceCopyPrefs.h b/launcher/InstanceCopyPrefs.h
index c5c1a7ae..432d67c4 100644
--- a/launcher/InstanceCopyPrefs.h
+++ b/launcher/InstanceCopyPrefs.h
@@ -5,6 +5,8 @@
#ifndef LAUNCHER_INSTANCECOPYPREFS_H
#define LAUNCHER_INSTANCECOPYPREFS_H
+#include <QStringList>
+
struct InstanceCopyPrefs {
bool copySaves = true;
bool keepPlaytime = true;
@@ -14,7 +16,8 @@ struct InstanceCopyPrefs {
bool copyServers = true;
bool copyMods = true;
- bool allTrue() const;
+ [[nodiscard]] bool allTrue() const;
+ [[nodiscard]] QString getSelectedFiltersAsRegex() const;
};
#endif // LAUNCHER_INSTANCECOPYPREFS_H