summaryrefslogtreecommitdiff
path: root/muse2/awl
diff options
context:
space:
mode:
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);
}