Mercurial > hg > syntilista
diff src/printing.cpp @ 255:55581d90c55d
Change API for slCheckAndReportSQLError().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 10 Oct 2018 13:21:51 +0300 |
parents | 43a5e09bb832 |
children | df3f902588af |
line wrap: on
line diff
--- a/src/printing.cpp Thu May 10 01:16:30 2018 +0300 +++ b/src/printing.cpp Wed Oct 10 13:21:51 2018 +0300 @@ -130,7 +130,7 @@ query.setForwardOnly(true); query.exec(); - if (!slCheckAndReportSQLError("printDocumentPage()", query.lastError())) + if (!slCheckAndReportSQLError(query, "printDocumentPage()")) { slErrorMsg( tr("SQL-tietokantavirhe"),