diff options
Diffstat (limited to 'libqmenumodel')
-rw-r--r-- | libqmenumodel/src/unitymenumodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqmenumodel/src/unitymenumodel.cpp b/libqmenumodel/src/unitymenumodel.cpp index 6e9a5f7..a407ac1 100644 --- a/libqmenumodel/src/unitymenumodel.cpp +++ b/libqmenumodel/src/unitymenumodel.cpp @@ -725,7 +725,7 @@ static QVariant parseVariantString(const QString& string) return qvariant; } - gvariant = g_variant_parse (NULL, string.toStdString().c_str(), NULL, NULL, &error); + gvariant = g_variant_parse (NULL, string.toUtf8().data(), NULL, NULL, &error); if (error) { qWarning() << "Impossible to parse" << string << "as variant string:"<< error->message; |