From 13771608aa80a9ccff97b9c3918a2812917dbc19 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Tue, 22 Feb 2022 17:36:28 +0300 Subject: [PATCH] UI: ConfManager: Fix typo --- src/ui/conf/confmanager.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ui/conf/confmanager.cpp b/src/ui/conf/confmanager.cpp index 6a869953..b1582202 100644 --- a/src/ui/conf/confmanager.cpp +++ b/src/ui/conf/confmanager.cpp @@ -679,11 +679,12 @@ qint64 ConfManager::appIdByPath(const QString &appPath) bool ConfManager::addApp(const QString &appPath, const QString &appName, const QDateTime &endTime, int groupIndex, bool useGroupPerm, bool applyChild, bool blocked) { - if (!updateDriverUpdateApp(appPath, groupIndex, useGroupPerm, applyChild, applyChild, blocked)) + if (!updateDriverUpdateApp( + appPath, groupIndex, useGroupPerm, applyChild, blocked, /*remove=*/false)) return false; - return addOrUpdateApp( - appPath, appName, endTime, groupIndex, useGroupPerm, applyChild, blocked, false); + return addOrUpdateApp(appPath, appName, endTime, groupIndex, useGroupPerm, applyChild, blocked, + /*alerted=*/false); } bool ConfManager::deleteApp(qint64 appId)