fix: correct autostart source
Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
parent
95019a38f4
commit
6f2da75d7a
@ -657,7 +657,7 @@ void ApplicationService::setAutoStart(bool autostart) noexcept
|
|||||||
newEntry = *m_entry;
|
newEntry = *m_entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
newEntry.insert(DesktopFileEntryKey, X_Deepin_GenerateSource, m_desktopSource.sourcePath());
|
newEntry.insert(DesktopFileEntryKey, X_Deepin_GenerateSource, m_autostartSource.m_filePath);
|
||||||
newEntry.insert(DesktopFileEntryKey, DesktopEntryHidden, !autostart);
|
newEntry.insert(DesktopFileEntryKey, DesktopEntryHidden, !autostart);
|
||||||
|
|
||||||
setAutostartSource({fileName, newEntry});
|
setAutostartSource({fileName, newEntry});
|
||||||
|
Loading…
Reference in New Issue
Block a user