diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-07-18 05:07:32 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-03 11:39:01 -0500 |
| commit | ccab9eae8df3cf5367ce5cf164c98d1534ac13cb (patch) | |
| tree | 603bddc6dc14d256d4b416514e089326be83c42e /src/shared | |
| parent | 75cc2ffead148ab2409cd1ef469613d2e9b80e17 (diff) | |
add warning when profile given with -p doesn't exist
implemented moshortcut, nxm links and executable names as command line options
Diffstat (limited to 'src/shared')
| -rw-r--r-- | src/shared/util.cpp | 6 | ||||
| -rw-r--r-- | src/shared/util.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/util.cpp b/src/shared/util.cpp index ba500da9..f316549e 100644 --- a/src/shared/util.cpp +++ b/src/shared/util.cpp @@ -435,3 +435,9 @@ void ResetExitFlag() {
g_exiting = false;
}
+
+
+bool isNxmLink(const QString& link)
+{
+ return link.startsWith("nxm://", Qt::CaseInsensitive);
+}
diff --git a/src/shared/util.h b/src/shared/util.h index 2761b64f..1688a931 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -83,4 +83,6 @@ bool ModOrganizerExiting(); bool ModOrganizerCanCloseNow();
void ResetExitFlag();
+bool isNxmLink(const QString& link);
+
#endif // UTIL_H
|
