sqlite: don't use deprecated QSqlError constructor
so that it can build with configure -no-feature-DEPRECATED Change-Id: Id2decc05974bad249c79936d99ab63d3cfc375ad Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
parent
7dcbd519c4
commit
544f82ea3a
@ -98,7 +98,7 @@ static QSqlError qMakeError(sqlite3 *access, const QString &descr, QSqlError::Er
|
||||
{
|
||||
return QSqlError(descr,
|
||||
QString(reinterpret_cast<const QChar *>(sqlite3_errmsg16(access))),
|
||||
type, errorCode);
|
||||
type, QString::number(errorCode));
|
||||
}
|
||||
|
||||
class QSQLiteResultPrivate;
|
||||
|
Loading…
Reference in New Issue
Block a user