summaryrefslogtreecommitdiffstats
path: root/tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2023-02-12 17:46:01 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2023-03-16 23:55:53 +0100
commitf6d70650933c5c1e9b238d8aaa06419223908183 (patch)
treec1578b2de4ede82c7106714468cc9486fc9b4c9f /tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp
parent67f54358ade659f4207d4b4c1d0f334e8af44407 (diff)
SQL/SQLDatabase: do not copy q within QSqlDatabasePrivate::copy()
Copying the QSqlDatabase pointer inside QSqlDatabasePrivate::copy() is not a good idea since it must point to the owning instance and not another one. Since it's not used anywhere we can safely remove it. Change-Id: Ie45b594305059afd9b8d8b25d4864dd77769acf7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions