summaryrefslogtreecommitdiff
path: root/muse2/muse/shortcuts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/shortcuts.cpp')
-rw-r--r--muse2/muse/shortcuts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/muse/shortcuts.cpp b/muse2/muse/shortcuts.cpp
index b81ed0c9..05a7a94b 100644
--- a/muse2/muse/shortcuts.cpp
+++ b/muse2/muse/shortcuts.cpp
@@ -300,7 +300,7 @@ void readShortCuts(Xml& xml)
switch (token) {
case Xml::TagStart: {
if (tag.length()) {
- int index = getShrtByTag(tag);
+ int index = getShrtByTag(tag.toAscii().constData());
if (index == -1) //No such tag found
printf("Config file might be corrupted. Unknown shortcut: %s\n",tag.toLatin1().constData());
else {