UI: ConfAppManager: Fix transaction

This commit is contained in:
Nodir Temirkhodjaev 2024-01-15 11:08:32 +03:00
parent 8f8cf6043b
commit 0a38bbc3ef

View File

@ -302,6 +302,8 @@ bool ConfAppManager::updateAppName(qint64 appId, const QString &appName)
{ {
bool ok = false; bool ok = false;
beginTransaction();
const auto vars = QVariantList() << appId << appName; const auto vars = QVariantList() << appId << appName;
sqliteDb()->executeEx(sqlUpdateAppName, vars, 0, &ok); sqliteDb()->executeEx(sqlUpdateAppName, vars, 0, &ok);