From kde-commits Sun Jul 31 22:58:01 2005 From: Ruurd Pels Date: Sun, 31 Jul 2005 22:58:01 +0000 To: kde-commits Subject: playground/office/pekunia/pekunia/model Message-Id: <1122850681.592619.27062.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=112285069122609 SVN commit 441792 by ruurd: Fix binding to use colon instead of semi. darn M +1 -1 unitdbhelper.cpp --- trunk/playground/office/pekunia/pekunia/model/unitdbhelper.cpp #441791:441792 @@ -102,7 +102,7 @@ theUnit->setIdent(Sequencer::next("unit_ident_seq")); QSqlQuery dq = Database::getInstance().prepare("INSERT INTO unit VALUES (:admin_ident, :ident, :code, :description, :prec)"); - dq.bindValue(";admin_ident", theUnit->getAdmin()->getIdent()); + dq.bindValue(":admin_ident", theUnit->getAdmin()->getIdent()); dq.bindValue(":ident", theUnit->getIdent()); dq.bindValue(":code", theUnit->getCode().c_str()); dq.bindValue(":description", theUnit->getDescription().c_str());