diff options
| author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-10-11 17:31:22 +0200 |
|---|---|---|
| committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-10-25 09:39:39 +0200 |
| commit | 9d504e1150e4bd49d34aba5cee938d1fd9f7e80c (patch) | |
| tree | 4aa87087f3199a33a83b20134faabdcf9856f51c /src/tools/androidtestrunner/main.cpp | |
| parent | 375efdd0e157a80de08627612e36597a22c6ac06 (diff) | |
| download | qtbase-9d504e1150e4bd49d34aba5cee938d1fd9f7e80c.tar.gz | |
QSqlTableModel::record: Use the const & we're given
QSqlTableModelPrivate::ModifiedRow::rec returns a const &
so use it instead doing a copy. QSqlRecord is cheap to copy constructor
but not having to do it is faster
Change-Id: Iad6e79fcdcdf380ce681fe9426436f8cb98be553
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/tools/androidtestrunner/main.cpp')
0 files changed, 0 insertions, 0 deletions
