diff --git a/src/libsync/ownsql.cpp b/src/libsync/ownsql.cpp index d45630bc2..9245c8654 100644 --- a/src/libsync/ownsql.cpp +++ b/src/libsync/ownsql.cpp @@ -137,7 +137,7 @@ void SqlDatabase::close() if( _db ) { SQLITE_DO(sqlite3_close(_db) ); if (_errId != SQLITE_OK) { - qWarning() << "ERROR When closing DB" << _error << sqlite3_db_filename(_db, 0); + qWarning() << "ERROR When closing DB" << _error; } _db = 0; }