diff options
| author | Chris Bessent <lost.dragonist@gmail.com> | 2021-04-29 00:42:51 -0700 |
|---|---|---|
| committer | Chris Bessent <lost.dragonist@gmail.com> | 2021-04-29 00:50:11 -0700 |
| commit | 9638a797d16eb2d9b504a4a337a20b4eee535e4c (patch) | |
| tree | 51a41f8c54d57a41819ef431242d6d2509af065d /src/instancemanager.h | |
| parent | 40a4bf1e3a25d98da481c6807e327f036a9a33e6 (diff) | |
Sanitize download file names
Also switch instance name sanitizer to MOBase version
Diffstat (limited to 'src/instancemanager.h')
| -rw-r--r-- | src/instancemanager.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/instancemanager.h b/src/instancemanager.h index f1781a70..7174ec3a 100644 --- a/src/instancemanager.h +++ b/src/instancemanager.h @@ -305,10 +305,6 @@ public: // std::vector<QString> globalInstancePaths() const; - // returns `name` modified so that it is a valid instance name - // - QString sanitizeInstanceName(const QString &name) const; - // sanitizes the given instance name and either // 1) returns it if there is no instance with this name // 2) tries to add " (N)" at the end until it works @@ -321,12 +317,6 @@ public: // bool instanceExists(const QString& instanceName) const; - // returns whether the given instance name would be a valid name; this does - // not check whether the instance already exists, it's basiscally just a check - // against what sanitizeInstanceName() returns - // - bool validInstanceName(const QString& instanceName) const; - // returns the absolute path of a global instance with the given name; this // does not check if the name is valid or if exists // |
