Fixing typos

This commit is contained in:
hefee 2013-12-09 20:17:56 +01:00
parent b092a8cee3
commit f8478ac27b

View file

@ -50,7 +50,7 @@ void SyncJournalDb::startTransaction()
{
if( _transaction == 0 ) {
if( !_db.transaction() ) {
qDebug() << "ERROR commiting to the database: " << _db.lastError().text();
qDebug() << "ERROR committing to the database: " << _db.lastError().text();
return;
}
_transaction = 1;
@ -64,7 +64,7 @@ void SyncJournalDb::commitTransaction()
{
if( _transaction == 1 ) {
if( ! _db.commit() ) {
qDebug() << "ERROR commiting to the database: " << _db.lastError().text();
qDebug() << "ERROR committing to the database: " << _db.lastError().text();
return;
}
_transaction = 0;