summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qelapsedtimer_unix.cpp
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2022-07-21 18:42:23 +0200
committerIvan Solovev <ivan.solovev@qt.io>2022-08-10 22:38:24 +0200
commitc4fabe37b9a97a189b02de4e72d040009892ad08 (patch)
treeb3466548b611b3f9b41be6b49d1b78bd424a62eb /src/corelib/tools/qelapsedtimer_unix.cpp
parent2ca30440835ef99d8b5f720866fc163a9629bed7 (diff)
Remove QSqlTableModel::setQuery(const QSqlQuery &)
... and simply use the public methods of the base class instead. We can't completely remove it, so we just add it to removed_api.cpp By removing the setQuery() method in the QSqlTableModel class, we open up name lookup to the base class, where the const ref overload was already deprecated in 14f9f00fdb2dc428610c08e3d9d03e38e9602166, and the proper replacements were provided. [ChangeLog][QtSql][QSqlTableModel] The setQuery(const QSqlQuery &) method is removed, because QSqlQuery cannot be copied correctly. Use the public setQuery() overloads of the base QSqlQueryModel class instead. They allow passing of QSqlQuery by rvalue ref, or creation of the query by specifying query string and database object. Task-number: QTBUG-105048 Change-Id: I6f47067af6b4769578d4de9dbdbbbc7504ddf4ad Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/tools/qelapsedtimer_unix.cpp')
0 files changed, 0 insertions, 0 deletions