From 7d0c5bb6155bec3b0a531c30a66108918117f681 Mon Sep 17 00:00:00 2001 From: black-desk Date: Mon, 4 Sep 2023 18:22:31 +0800 Subject: [PATCH] refact: remove IconMap remove unused types --- apps/dde-application-manager/src/main.cpp | 1 - src/global.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/apps/dde-application-manager/src/main.cpp b/apps/dde-application-manager/src/main.cpp index b92d65e..2b134cc 100644 --- a/apps/dde-application-manager/src/main.cpp +++ b/apps/dde-application-manager/src/main.cpp @@ -18,7 +18,6 @@ void registerComplexDbusType() { qDBusRegisterMetaType>(); qDBusRegisterMetaType>>(); - qDBusRegisterMetaType(); qRegisterMetaType(); qDBusRegisterMetaType(); qRegisterMetaType(); diff --git a/src/global.h b/src/global.h index 9a7efa8..53afaed 100644 --- a/src/global.h +++ b/src/global.h @@ -7,7 +7,6 @@ #include #include -#include #include #include #include @@ -27,7 +26,6 @@ Q_DECLARE_LOGGING_CATEGORY(DDEAMProf) -using IconMap = QMap>>; using ObjectInterfaceMap = QMap; using ObjectMap = QMap; using PropMap = QMap>;