feat: add ProcessGuesser1 service

Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe
2023-10-18 18:29:52 +08:00
committed by Comix
parent f796535233
commit 8f6628c5d2
11 changed files with 217 additions and 37 deletions

View File

@ -928,6 +928,12 @@ QVariant ApplicationService::findEntryValue(const QString &group,
bool ok{false};
switch (type) {
case EntryValueType::Raw: {
auto valStr = val.toString();
if (!valStr.isEmpty()) {
ret = QVariant::fromValue(valStr);
}
} break;
case EntryValueType::String: {
auto valStr = toString(val);
if (!valStr.isEmpty()) {