QSqlTableModel: suppress deprecation warning

It's just a proxy-setter so we cannot really avoid the call

Pick-to: 6.3 6.2
Change-Id: I4230075a906c100ddb9722160859e7a2c8e26ebc
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
bb10
Mårten Nordheim 2022-03-04 13:29:33 +01:00
parent 006aa6c2ee
commit fd72c0d26c
1 changed files with 1 additions and 1 deletions

View File

@ -624,7 +624,7 @@ bool QSqlTableModel::clearItemData(const QModelIndex &index)
*/
void QSqlTableModel::setQuery(const QSqlQuery &query)
{
QSqlQueryModel::setQuery(query);
QT_IGNORE_DEPRECATIONS(QSqlQueryModel::setQuery(query);)
}
/*!