Mercurial > hg > syntilista
changeset 23:6e7ab784f7a4
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 03 Apr 2017 12:46:04 +0300 |
parents | c23241a3e160 |
children | 0e0948aec438 |
files | main.cpp |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/main.cpp Mon Apr 03 12:39:56 2017 +0300 +++ b/main.cpp Mon Apr 03 12:46:04 2017 +0300 @@ -868,9 +868,7 @@ np.exec(); if (!checkAndReportSQLError("PersonSQLModel::updatePerson()", np.lastError())) - { return -1; - } QSqlDatabase::database().commit(); @@ -893,9 +891,7 @@ np.exec(); if (!checkAndReportSQLError("PersonSQLModel::addPerson()", np.lastError())) - { return -1; - } QSqlDatabase::database().commit();