Mercurial > hg > syntilista
diff src/main.h @ 200:98eec4f3838b
Constify.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 15 Nov 2017 10:32:57 +0200 |
parents | 76afbf6508c8 |
children | 2438ea2611f9 |
line wrap: on
line diff
--- a/src/main.h Wed Nov 15 10:18:11 2017 +0200 +++ b/src/main.h Wed Nov 15 10:32:57 2017 +0200 @@ -85,7 +85,7 @@ const QString slDateTimeToStr(const QDateTime &val); void slLog(const QString &mtype, const QString &msg); -int slErrorMsg(QString title, QString msg); +int slErrorMsg(const QString &title, const QString &msg); bool slCheckAndReportSQLError(const QString where, const QSqlError &err, bool report = false); void slGetPersonInfoRec(QSqlQuery &query, SLPersonInfo &info);