QtSql: Stylistic fixes based on the Qt 6.6 api review

Amends 12909d7c3d and 0efd8854c4.

Pick-to: 6.6
Change-Id: Id7cb7377bcd1f32092330d2fc5b2fa5b83ce941f
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Christian Ehrlicher 2023-07-06 15:33:20 +02:00 committed by Volker Hilsheimer
parent 25f7d95fce
commit 7a732413ff
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);