fix: autostart desktop content error
always update autostart application entry Issue: https://github.com/linuxdeepin/developer-center/issues/8261
This commit is contained in:
parent
93c0373a40
commit
9a29c0e09a
@ -392,6 +392,7 @@ QHash<QSharedPointer<ApplicationService>, QString> ApplicationManager1Service::s
|
||||
|
||||
auto shouldLaunch = tmp.value(DesktopFileEntryKey, DesktopEntryHidden).value_or(DesktopEntry::Value{});
|
||||
if (!shouldLaunch.isNull() and (shouldLaunch.toString().compare("true", Qt::CaseInsensitive) == 0)) {
|
||||
app->setAutostartSource({desktopFile.sourcePath(), std::move(tmp)});
|
||||
qInfo() << "shouldn't launch this autoStart item.";
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user