fix: 修复安装应用失败问题
优化新应用安装/启动后,AM发送消息通知dde-launcher的逻辑 Log: Influence: 安装应用/启动应用时,启动器功能正常 Bug: https://pms.uniontech.com/bug-view-150623.html Change-Id: Icebea449ccd5ad9eac39cf5d527e87813910b356
This commit is contained in:
@ -24,6 +24,7 @@
|
||||
#include <QtDBus/QtDBus>
|
||||
#include <QtCore/QList>
|
||||
#include <QDBusMetaType>
|
||||
#include <QDebug>
|
||||
|
||||
struct LauncherItemInfo {
|
||||
QString path;
|
||||
@ -34,6 +35,14 @@ struct LauncherItemInfo {
|
||||
qint64 timeInstalled;
|
||||
QStringList keywords;
|
||||
bool operator!=(const LauncherItemInfo &versionInfo);
|
||||
|
||||
friend QDebug operator<<(QDebug argument, const LauncherItemInfo &info)
|
||||
{
|
||||
argument << info.path << info.name << info.id;
|
||||
argument << info.icon << info.categoryId << info.timeInstalled << info.keywords;
|
||||
|
||||
return argument;
|
||||
}
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(LauncherItemInfo)
|
||||
|
Reference in New Issue
Block a user