Version upgrade 4.00 #45

Merged
elB4RTO merged 113 commits from devel into main 2024-02-17 16:13:26 +01:00
Showing only changes of commit a931018ce1 - Show all commits

View file

@ -88,7 +88,7 @@ bool newCollectionDatabase( DatabaseWrapper db, const std::string& db_path, cons
{
try {
db.open( db_path, true );
db.openNew( db_path );
// succesfully creted database file, now create the tables
const QString stmt{ QStringLiteral(R"(
@ -133,7 +133,7 @@ bool newCollectionDatabase( DatabaseWrapper db, const std::string& db_path, cons
}
DialogSec::msgDatabaseCreated( db.name() );
return true;
return checkCollectionDatabase( db_path );
}
@ -149,7 +149,7 @@ bool newHashesDatabase( DatabaseWrapper db, const std::string& db_path, const st
{
try {
db.open( db_path, true );
db.openNew( db_path );
// succesfully creted database file, now create the tables
const QString stmt{ QStringLiteral(R"(
@ -178,7 +178,7 @@ bool newHashesDatabase( DatabaseWrapper db, const std::string& db_path, const st
}
DialogSec::msgDatabaseCreated( db.name() );
return true;
return checkHashesDatabase( db_path );
}
} // namespace (private)