QtSql: Stylistic fixes based on the Qt 6.6 api review

Amends 12909d7c3df74b88382b727cfd3e215914f291ba and 0efd8854c4b32ec0b011efbf6b3a1990fe684e32.

Change-Id: Id7cb7377bcd1f32092330d2fc5b2fa5b83ce941f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 7a732413ffbba41e365fde7aa73351f9f98bd07d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Christian Ehrlicher 2023-07-06 15:33:20 +02:00 committed by Qt Cherry-pick Bot
parent b34d5dcf68
commit 64335e3ceb
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ public:
QSqlIndex primaryIndex(const QString& tablename) const;
QSqlRecord record(const QString& tablename) const;
#if QT_DEPRECATED_SINCE(6, 6)
QT_DEPRECATED_VERSION_X_6_6("QSqlQuery::exec() instead.")
QT_DEPRECATED_VERSION_X_6_6("Use QSqlQuery::exec() instead.")
QSqlQuery exec(const QString& query = QString()) const;
#endif
QSqlError lastError() const;

View File

@ -51,7 +51,7 @@ public:
SQLite,
Interbase,
DB2,
MimerSQL
MimerSQL,
};
explicit QSqlDriver(QObject *parent = nullptr);