fix: 修复设置开机自启动应用重启后失效问题
1. 修复获取自启动列表为空的问题 2. 修复重启后自启动应用没有启动问题 Log: Influence: 设置自启动后重启应用也会保持生效 Bug: https://pms.uniontech.com/bug-view-172263.html Change-Id: Id95f4248fe2d29b3a6d03e9b44bee54671e9c5f6
This commit is contained in:
@ -70,13 +70,17 @@ private:
|
||||
void listenAutostartFileEvents();
|
||||
void startAutostartProgram();
|
||||
QStringList getAutostartList();
|
||||
QMap<QString, QString> getDesktopToAutostartMap();
|
||||
void setIsDBusCalled(const bool state);
|
||||
bool isDBusCalled() const;
|
||||
|
||||
uint64_t minMemAvail;
|
||||
uint64_t maxSwapUsed;
|
||||
StartManagerDBusHandler *dbusHandler;
|
||||
QStringList m_autostartFiles;
|
||||
QFileSystemWatcher *fileWatcher;
|
||||
ApplicationManager *am;
|
||||
QMap<QString, QString> m_desktopDirToAutostartDirMap; // Desktop全路径和自启动目录
|
||||
QFileSystemWatcher *m_autostartFileWatcher;
|
||||
bool m_isDBusCalled;
|
||||
};
|
||||
|
||||
#endif // STARTMANAGER_H
|
||||
|
Reference in New Issue
Block a user