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/awl | |
parent | f681783c513b54002aa4dfec2566f26bfc38689b (diff) |
ported many Qt3 methods to Qt4
Diffstat (limited to 'muse2/awl')
-rw-r--r-- | muse2/awl/sigedit.cpp | 2 |
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); } |