summaryrefslogtreecommitdiffstats
path: root/src/sql/compat/removed_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql/compat/removed_api.cpp')
-rw-r--r--src/sql/compat/removed_api.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sql/compat/removed_api.cpp b/src/sql/compat/removed_api.cpp
index cab5d5b528..ff223b9967 100644
--- a/src/sql/compat/removed_api.cpp
+++ b/src/sql/compat/removed_api.cpp
@@ -27,6 +27,13 @@ QSqlQuery QSqlQueryModel::query() const
QT_IGNORE_DEPRECATIONS(return query(QT6_CALL_NEW_OVERLOAD);)
}
+#include "qsqltablemodel.h"
+
+void QSqlTableModel::setQuery(const QSqlQuery &query)
+{
+ QT_IGNORE_DEPRECATIONS(QSqlQueryModel::setQuery(query);)
+}
+
#endif // QT_CONFIG(sqlmodel)
// #include <qotherheader.h>