aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-11-23 08:50:51 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-11-23 08:50:51 -0300
commit2b54bfb285ab5b2571808bfc9233da4847b27017 (patch)
tree26ab85ce6b8a25344d9f500844c681b5b23ba24d /libqmenumodel/src
parent193ddd3e44624a624cff1ecbe6c7a7e7a27decae (diff)
downloadqmenumodel-2b54bfb285ab5b2571808bfc9233da4847b27017.tar.gz
qmenumodel-2b54bfb285ab5b2571808bfc9233da4847b27017.tar.bz2
qmenumodel-2b54bfb285ab5b2571808bfc9233da4847b27017.zip
Fixed code style.
Diffstat (limited to 'libqmenumodel/src')
-rw-r--r--libqmenumodel/src/converter.cpp4
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());