diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-06-14 16:20:39 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-06-17 07:09:52 +0000 |
commit | 9f1646b0d9b1ffb61ffa69b4027d7c45766b0e98 (patch) | |
tree | 90033384861c1098d517d83cf971c460dd4542e4 /src/corelib/kernel/qpointer.h | |
parent | dd788e0dc84b9c46953b34da1757a15d32e815a0 (diff) |
qDBusRealAddTimeout(): don't create a QList just to check it's empty
Instead of QHash::keys(value).isEmpty(), use QHash::key(value, 0) == 0
(0 is used a failure indicator three lines down, so it should not be
a key in the hash table).
Change-Id: I75cc4f7f7540dc5c51a7b8e3add09a0ec6a75e05
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/corelib/kernel/qpointer.h')
0 files changed, 0 insertions, 0 deletions