path: root/src/widgets/widgets/qtextbrowser.cpp
diff options
authorIvan Solovev <>2022-08-09 12:42:59 +0200
committerIvan Solovev <>2022-08-10 22:38:24 +0200
commit2ca30440835ef99d8b5f720866fc163a9629bed7 (patch)
tree3d44c994a1f7dec26e5b732cfc4abfc7a244c0c1 /src/widgets/widgets/qtextbrowser.cpp
parent62859ccaa666909c2db8ac4d0a46fa0f5163153f (diff)
Make QSqlQueryModel::query() return a reference to the const QSqlQuery
Returning QSqlQuery instance by value does not make much sense, because it cannot be copied correctly. Also, its copy constructor and copy-assignment operators are deprecated from Qt 6.2. [ChangeLog][Potentially Source-Incompatible Changes][QSqlQueryModel] QSqlQueryModel::query() now returns a reference to the const QSqlQuery object associated with the model. Task-number: QTBUG-105048 Change-Id: I04a2aa377b17d770d2a9855040f8c730190484d8 Reviewed-by: Marc Mutz <> Reviewed-by: Edward Welbourne <>
Diffstat (limited to 'src/widgets/widgets/qtextbrowser.cpp')
0 files changed, 0 insertions, 0 deletions