feat: add ProcessGuesser1 service
Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
@ -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()) {
|
||||
|
Reference in New Issue
Block a user