From 2b54bfb285ab5b2571808bfc9233da4847b27017 Mon Sep 17 00:00:00 2001 From: Renato Araujo Oliveira Filho Date: Fri, 23 Nov 2012 08:50:51 -0300 Subject: Fixed code style. --- libqmenumodel/src/converter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libqmenumodel') diff --git a/libqmenumodel/src/converter.cpp b/libqmenumodel/src/converter.cpp index 39379c7..6c2411c 100644 --- a/libqmenumodel/src/converter.cpp +++ b/libqmenumodel/src/converter.cpp @@ -55,7 +55,7 @@ QVariant Converter::toQVariant(GVariant *value) gsize size = g_variant_n_children(value); QVariantList vlist; - for(gsize i=0; i < size; i++) { + for (gsize i=0; i < size; i++) { GVariant *v = g_variant_get_child_value(value, i); if (v) { vlist << toQVariant(v); @@ -152,7 +152,7 @@ GVariant* Converter::toGVariant(const QVariant &value) { QVariantList lst = value.toList(); GVariant **vars = g_new(GVariant*, lst.size()); - for(int i=0; i < lst.size(); i++) { + for (int i=0; i < lst.size(); i++) { vars[i] = toGVariant(lst[i]); } result = g_variant_new_tuple(vars, lst.size()); -- cgit v1.2.3