aboutsummaryrefslogtreecommitdiff
path: root/qdict.c
diff options
context:
space:
mode:
Diffstat (limited to 'qdict.c')
-rw-r--r--qdict.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/qdict.c b/qdict.c
index ef73265f49..ba8eef09b7 100644
--- a/qdict.c
+++ b/qdict.c
@@ -122,9 +122,8 @@ void qdict_put_obj(QDict *qdict, const char *key, QObject *value)
/* allocate a new entry */
entry = alloc_entry(key, value);
QLIST_INSERT_HEAD(&qdict->table[hash], entry, next);
+ qdict->size++;
}
-
- qdict->size++;
}
/**