qpsql: simplify expression

Change-Id: I1cff816ca5e8f683015186a2b5815e564ad454e6
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
bb10
Mark Brand 2013-02-10 21:46:25 +01:00 committed by The Qt Project
parent 176383f3ec
commit ad211acae4
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ bool QPSQLResult::exec()
cleanup();
QString stmt;
const QString params = qCreateParamString(boundValues(), d->q->driver());
const QString params = qCreateParamString(boundValues(), driver());
if (params.isEmpty())
stmt = QString::fromLatin1("EXECUTE %1").arg(d->preparedStmtId);
else