diff src/util.h @ 255:55581d90c55d

Change API for slCheckAndReportSQLError().
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 10 Oct 2018 13:21:51 +0300
parents eadffc38ab43
children df3f902588af
line wrap: on
line diff
--- a/src/util.h	Thu May 10 01:16:30 2018 +0300
+++ b/src/util.h	Wed Oct 10 13:21:51 2018 +0300
@@ -39,7 +39,7 @@
 void slLog(const QString &mtype, const QString &msg);
 int slErrorMsg(const QString &title, const QString &msg);
 
-bool slCheckAndReportSQLError(const QString where, const QSqlError &err, bool report = false);
+bool slCheckAndReportSQLError(const QSqlQuery &query, const QString where, bool report = false);
 bool slConditionallyCreateSQLTables(QSqlDatabase &db, const SLSQLSchemaDef *schema, const int nschema);