From c805b4887a928b3ee45fdf489f043c87165f46e5 Mon Sep 17 00:00:00 2001 From: Renato Araujo Oliveira Filho Date: Wed, 17 Oct 2012 10:41:37 -0300 Subject: Used 'G_VARIANT_TYPE_VARDICT' in GVariantBuilder constructor. --- libqmenumodel/src/converter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 i(value.toMap()); while (i.hasNext()) { i.next(); -- cgit v1.2.3