diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-11-23 08:50:51 -0300 |
---|---|---|
committer | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-11-23 08:50:51 -0300 |
commit | 2b54bfb285ab5b2571808bfc9233da4847b27017 (patch) | |
tree | 26ab85ce6b8a25344d9f500844c681b5b23ba24d /libqmenumodel/src | |
parent | 193ddd3e44624a624cff1ecbe6c7a7e7a27decae (diff) | |
download | qmenumodel-2b54bfb285ab5b2571808bfc9233da4847b27017.tar.gz qmenumodel-2b54bfb285ab5b2571808bfc9233da4847b27017.tar.bz2 qmenumodel-2b54bfb285ab5b2571808bfc9233da4847b27017.zip |
Fixed code style.
Diffstat (limited to 'libqmenumodel/src')
-rw-r--r-- | libqmenumodel/src/converter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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()); |