summaryrefslogtreecommitdiff
path: root/muse2/awl
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-12-08 08:22:29 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-12-08 08:22:29 +0000
commit4a1be16bbfafb8455b54336c4465da8f8bfe3ab6 (patch)
tree01cbdba041d5e864294909d834c1a189f0edb98b /muse2/awl
parentf681783c513b54002aa4dfec2566f26bfc38689b (diff)
ported many Qt3 methods to Qt4
Diffstat (limited to 'muse2/awl')
-rw-r--r--muse2/awl/sigedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/awl/sigedit.cpp b/muse2/awl/sigedit.cpp
index 9ddf15c0..3e995a93 100644
--- a/muse2/awl/sigedit.cpp
+++ b/muse2/awl/sigedit.cpp
@@ -103,7 +103,7 @@ void SigEdit::setValue(const AL::TimeSignature& s)
void SigEdit::setValue(const QString& s)
{
int z = 4, n = 4;
- sscanf(s.latin1(), "%d/%d", &z, &n);
+ sscanf(s.toLatin1().constData(), "%d/%d", &z, &n);
AL::TimeSignature sig(z, n);
setValue(sig);
}