From c856c3c44f488b137dd3b76f81b2d4b9c5444b73 Mon Sep 17 00:00:00 2001
From: Orcan Ogetbil <oget.fedora@gmail.com>
Date: Tue, 7 Dec 2010 23:40:10 +0000
Subject: Converted all latin1() instances. Ported Qt3 methods to Qt4.

---
 muse2/awl/posedit.cpp | 2 +-
 muse2/awl/sigedit.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'muse2/awl')

diff --git a/muse2/awl/posedit.cpp b/muse2/awl/posedit.cpp
index 51cea634..a6ca9b30 100644
--- a/muse2/awl/posedit.cpp
+++ b/muse2/awl/posedit.cpp
@@ -281,7 +281,7 @@ QAbstractSpinBox::StepEnabled PosEdit::stepEnabled() const
 
 void PosEdit::fixup(QString& input) const
       {
-      printf("fixup <%s>\n", input.toLatin1().data());
+      printf("fixup <%s>\n", input.toLatin1().constData());
       }
 
 //---------------------------------------------------------
diff --git a/muse2/awl/sigedit.cpp b/muse2/awl/sigedit.cpp
index 193a9bd7..9ddf15c0 100644
--- a/muse2/awl/sigedit.cpp
+++ b/muse2/awl/sigedit.cpp
@@ -147,7 +147,7 @@ QAbstractSpinBox::StepEnabled SigEdit::stepEnabled() const
 
 void SigEdit::fixup(QString& input) const
       {
-      printf("fixup <%s>\n", input.toLatin1().data());
+      printf("fixup <%s>\n", input.toLatin1().constData());
       }
 
 //---------------------------------------------------------
-- 
cgit v1.2.3