mirror of
https://github.com/tnodir/fort
synced 2024-11-15 04:55:48 +00:00
UI: ConfAppManager: Fix transaction
This commit is contained in:
parent
8f8cf6043b
commit
0a38bbc3ef
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user