diff options
| author | Chris Bessent <lost.dragonist@gmail.com> | 2021-05-01 14:38:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-01 14:38:17 -0700 |
| commit | f098491306f8aea2660bfde5f20dbba97c326301 (patch) | |
| tree | e4f4fa4ea304198579a5f549aaeb7878bf781676 /src/instancemanager.h | |
| parent | bcaceb96373cdd0a8ef420850e5c5719e3c6c809 (diff) | |
| parent | dc3dcd9500fb7521b01f6707c443e09e8cc69d1c (diff) | |
Merge pull request #1503 from LostDragonist/filename
Sanitize download file names
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 // |
