[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/office/pekunia/pekunia/model
From:       Ruurd Pels <ruurd () tiscali ! nl>
Date:       2005-07-31 19:57:39
Message-ID: 1122839859.659984.21978.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 441738 by ruurd:

CopyPaste programming fix

 M  +1 -1      perioddbhelper.cpp  


--- trunk/playground/office/pekunia/pekunia/model/perioddbhelper.cpp #441737:441738
@@ -128,7 +128,7 @@
   {
     thePeriod->setIdent(Sequencer::next("period_ident_seq"));
 
-    QSqlQuery dq = Database::getInstance().prepare("INSERT INTO journal VALUES \
(:admin_ident, :ident, :bookyear, :periodnumber, :startdate, :enddate, :isclosed)"); \
+    QSqlQuery dq = Database::getInstance().prepare("INSERT INTO period VALUES \
(:admin_ident, :ident, :bookyear, :periodnumber, :startdate, :enddate, :isclosed)");  \
dq.bindValue(":admin_ident", thePeriod->getAdmin()->getIdent());  \
dq.bindValue(":ident", thePeriod->getIdent());  dq.bindValue(":bookyear", \
thePeriod->getBookyear());


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic