summaryrefslogtreecommitdiff
path: root/src/editexecutablesdialog.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-06-09 11:02:43 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-06-15 14:40:40 -0400
commitd6d05dcae8d2b26aff5917449e38f9886bca65ba (patch)
tree9d3a79703c68e48f0f6fb5a4b60e749330bea037 /src/editexecutablesdialog.h
parent626045511160b9d44a4ffd29f6dce11f5db6096b (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.h3
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