ibase: Don't use deprecated QSqlError constructor
Task-number: QTBUG-68330 Change-Id: Ie6ece8574462699fca401139ea00f1925b0a440b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
1af15a5659
commit
8d19afcc81
@ -323,7 +323,8 @@ public:
|
||||
return false;
|
||||
|
||||
q->setLastError(QSqlError(QCoreApplication::translate("QIBaseDriver", msg),
|
||||
imsg, typ, int(sqlcode)));
|
||||
imsg, typ,
|
||||
sqlcode != -1 ? QString::number(sqlcode) : QString()));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user