diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-08 08:22:29 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-08 08:22:29 +0000 |
commit | 4a1be16bbfafb8455b54336c4465da8f8bfe3ab6 (patch) | |
tree | 01cbdba041d5e864294909d834c1a189f0edb98b /muse2/muse/driver/jackmidi.cpp | |
parent | f681783c513b54002aa4dfec2566f26bfc38689b (diff) |
ported many Qt3 methods to Qt4
Diffstat (limited to 'muse2/muse/driver/jackmidi.cpp')
-rw-r--r-- | muse2/muse/driver/jackmidi.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/muse2/muse/driver/jackmidi.cpp b/muse2/muse/driver/jackmidi.cpp index da0f6235..c310462d 100644 --- a/muse2/muse/driver/jackmidi.cpp +++ b/muse2/muse/driver/jackmidi.cpp @@ -713,7 +713,7 @@ void MidiJackDevice::writeRouting(int level, Xml& xml) const //s += QString(QT_TR_NOOP(" name=\"%1\"/")).arg(r->name()); s += QString(QT_TR_NOOP(" name=\"%1\"/")).arg(Xml::xmlString(r->name())); - xml.tag(level, s); + xml.tag(level, s.toLatin1().constData()); //xml.strTag(level, "dstNode", name()); //xml.tag(level, "dest type=\"%d\" name=\"%s\"/", Route::JACK_MIDI_ROUTE, name().toLatin1().constData()); @@ -735,7 +735,7 @@ void MidiJackDevice::writeRouting(int level, Xml& xml) const s += QString(QT_TR_NOOP(" channel=\"%1\"")).arg(r->channel); //xml.tag(level++, "Route"); - xml.tag(level++, s); + xml.tag(level++, s.toLatin1().constData()); /* //xml.strTag(level, "srcNode", name()); @@ -777,7 +777,7 @@ void MidiJackDevice::writeRouting(int level, Xml& xml) const //s += QString(QT_TR_NOOP(" name=\"%1\"/")).arg(r->name()); s += QString(QT_TR_NOOP(" name=\"%1\"/")).arg(Xml::xmlString(r->name())); - xml.tag(level, s); + xml.tag(level, s.toLatin1().constData()); xml.etag(level--, "Route"); |