diff options
author | Mark Brand <mabrand@mabrand.nl> | 2012-02-15 10:22:15 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-23 23:42:59 +0100 |
commit | 3a863280dc7f1845bf3daa74fe235b1df9bc26ae (patch) | |
tree | 13e61ab2a353ad24108d1989b81cc8fedc91a57a /mkspecs/win32-g++ | |
parent | 5d516234bef7bf9d86cb1dbb1cddeb7e4c8fc8ec (diff) |
QSqlTableModel: avoid extra QMap lookup
The consensus on #qt-labs seems to be that there is little or no
point in checking with contains() before using value(), even if
the map does not contain the key in most cases.
Change-Id: I34740a91d5c3af65e20937a5ae3b4bab32406440
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'mkspecs/win32-g++')
0 files changed, 0 insertions, 0 deletions