summaryrefslogtreecommitdiff
path: root/src/instancemanager.cpp
diff options
context:
space:
mode:
authorAl <gabriel.cortesi@outlook.com>2019-05-28 09:42:06 +0200
committerGitHub <noreply@github.com>2019-05-28 09:42:06 +0200
commit6db22ef38898c4ada0dc1d54e697c3edc34ffd54 (patch)
treee9b508c223278201c0eb00e37ce14e494da9af70 /src/instancemanager.cpp
parent28b117b1a6bb14fa8f0805dfca0ad5ec245abb44 (diff)
parent5716676e083bde4a6f2ddb57a683df85b96c2d04 (diff)
Merge pull request #734 from isanae/permissive-flag
Permissive flag
Diffstat (limited to 'src/instancemanager.cpp')
-rw-r--r--src/instancemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instancemanager.cpp b/src/instancemanager.cpp
index 1c65f635..5b57827a 100644
--- a/src/instancemanager.cpp
+++ b/src/instancemanager.cpp
@@ -227,7 +227,7 @@ QString InstanceManager::chooseInstance(const QStringList &instanceList) const
if (choice.type() == QVariant::String) {
return choice.toString();
} else {
- switch (choice.value<uint8_t>()) {
+ switch (static_cast<Special>(choice.value<uint8_t>())) {
case Special::NewInstance: return queryInstanceName(instanceList);
case Special::Portable: return QString();
case Special::Manage: {