diff options
Diffstat (limited to 'libqmenumodel/src/converter.cpp')
-rw-r--r-- | libqmenumodel/src/converter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqmenumodel/src/converter.cpp b/libqmenumodel/src/converter.cpp index 2451d79..f7be5d7 100644 --- a/libqmenumodel/src/converter.cpp +++ b/libqmenumodel/src/converter.cpp @@ -127,7 +127,7 @@ GVariant* Converter::toGVariant(const QVariant &value) GVariantBuilder *b; GVariant *dict; - b = g_variant_builder_new(G_VARIANT_TYPE ("a{sv}")); + b = g_variant_builder_new(G_VARIANT_TYPE_VARDICT); QMapIterator<QString, QVariant> i(value.toMap()); while (i.hasNext()) { i.next(); |