aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-10-17 10:41:37 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-10-17 10:41:37 -0300
commitc805b4887a928b3ee45fdf489f043c87165f46e5 (patch)
treeff29867bb0527d7aedd41ff3ebec8c8cc992f3dc
parentcc79785d02cadd4066c967e7b373d6ac2bb39b1c (diff)
downloadqmenumodel-c805b4887a928b3ee45fdf489f043c87165f46e5.tar.gz
qmenumodel-c805b4887a928b3ee45fdf489f043c87165f46e5.tar.bz2
qmenumodel-c805b4887a928b3ee45fdf489f043c87165f46e5.zip
Used 'G_VARIANT_TYPE_VARDICT' in GVariantBuilder constructor.
-rw-r--r--libqmenumodel/src/converter.cpp2
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();