summaryrefslogtreecommitdiff
path: root/muse2/synti/vam
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-12-07 23:40:10 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-12-07 23:40:10 +0000
commitc856c3c44f488b137dd3b76f81b2d4b9c5444b73 (patch)
tree88a64ae28e48d4f71396d329b0d1c797b31accc3 /muse2/synti/vam
parent1e2c10156202d4b50df409a1930adc3f151e44dc (diff)
Converted all latin1() instances. Ported Qt3 methods to Qt4.
Diffstat (limited to 'muse2/synti/vam')
-rw-r--r--muse2/synti/vam/vamgui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/synti/vam/vamgui.cpp b/muse2/synti/vam/vamgui.cpp
index e438b0e0..1ed32994 100644
--- a/muse2/synti/vam/vamgui.cpp
+++ b/muse2/synti/vam/vamgui.cpp
@@ -445,7 +445,7 @@ void VAMGui::setPreset(Preset* preset)
putchar(0x7c); // mess
putchar(0x2); // vam
putchar(0x3); // setPreset
- const char* name = preset->name.latin1();
+ const char* name = preset->name.toLatin1();
while (*name)
putchar(*name++ & 0x7f);
putchar(0);
@@ -603,7 +603,7 @@ void VAMGui::loadPresetsPressed()
break;
case Xml::Attribut:
if(mode == 1 && tag == "iname") {
-// fprintf(stderr, "%s\n", xml.s2().latin1());
+// fprintf(stderr, "%s\n", xml.s2().toLatin1());
if(xml.s2() != "vam-1.0")
return;
else mode = 2;