mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 21:35:47 +03:00
Fixing typos
This commit is contained in:
parent
b092a8cee3
commit
f8478ac27b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue