summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2021-02-13 07:54:05 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2021-02-13 07:54:05 -0500
commit406d6f28c0ee0e6d6187a0d633f3db07fab57841 (patch)
treea40a33911362b0f5de412b77b8bf23d245df1565 /src/shared/util.h
parentee4c364ccc6c5fbd81b5136e75005d8b9550ca43 (diff)
force instance selection when the current instance cannot be used
the problem is that an empty instance name means the portable instance, but MO clears the name when it needs instance selection, which can create a loop if the portable instance can't be used
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index 1688a931..d8fdb3a3 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -74,6 +74,7 @@ enum class Exit
};
const int RestartExitCode = INT_MAX;
+const int ReselectExitCode = INT_MAX - 1;
using ExitFlags = QFlags<Exit>;
Q_DECLARE_OPERATORS_FOR_FLAGS(ExitFlags);