summaryrefslogtreecommitdiff
path: root/muse2/muse/shortcuts.cpp
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-12-09 00:03:41 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-12-09 00:03:41 +0000
commit45f00094ca990cacd3e3a6b5516259b280b4e182 (patch)
treebb0d1c25db9a3869836924f27307056bd911ee6b /muse2/muse/shortcuts.cpp
parent4a1be16bbfafb8455b54336c4465da8f8bfe3ab6 (diff)
Converted Qt3 methods to Qt4. Ported song.cpp
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 {