diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-09 11:02:43 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-15 14:40:40 -0400 |
| commit | d6d05dcae8d2b26aff5917449e38f9886bca65ba (patch) | |
| tree | 9d3a79703c68e48f0f6fb5a4b60e749330bea037 /src/editexecutablesdialog.h | |
| parent | 626045511160b9d44a4ffd29f6dce11f5db6096b (diff) | |
handles changing the title to one that already exists by just ignoring it
Diffstat (limited to 'src/editexecutablesdialog.h')
| -rw-r--r-- | src/editexecutablesdialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/editexecutablesdialog.h b/src/editexecutablesdialog.h index 5199537c..6e006ae2 100644 --- a/src/editexecutablesdialog.h +++ b/src/editexecutablesdialog.h @@ -135,7 +135,8 @@ private: void setEdits(const Executable& e);
void save();
void setJarBinary(const QString& binaryName);
- QString newExecutableTitle();
+ std::optional<QString> makeNonConflictingTitle(const QString& prefix);
+ bool isTitleConflicting(const QString& s);
};
#endif // EDITEXECUTABLESDIALOG_H
|
