Настройки базы данных теперь в xml

This commit is contained in:
2025-04-29 12:16:15 +03:00
parent f63b2d75c4
commit 98b01b2e88
4 changed files with 85 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ bool InterfaceDataBaseLMS::ConnectionToDB()
{
if(!createConnection())
{
QMessageBox::critical(nullptr, dbName, tr("Connection error: ") + db->lastError().text());
QMessageBox::critical(nullptr, dbSettings.dbName, tr("Connection error: ") + db->lastError().text());
return false;
}
else