fix: core dumped under Qt 6.4
1. call method metaObject of QMetaType will coredump under Qt 6.4 2. remove `std::terminate()` when AM can't connect to Systemd Signals. 3. call `Subscribe` before connecting to Systemd Signals to guarantee that systemd will send UnitNew and UnitRemoved. Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
@ -35,4 +35,11 @@ constexpr auto ApplicationManagerDestDBusName =
|
||||
u8"deepin_application_manager_dest_bus";
|
||||
#endif
|
||||
|
||||
constexpr auto ObjectManagerInterface = "org.desktopspec.DBus.ObjectManager";
|
||||
constexpr auto JobManagerInterface = "org.desktopspec.JobManager1";
|
||||
constexpr auto JobInterface = "org.desktopspec.JobManager1.Job";
|
||||
constexpr auto ApplicationManagerInterface = "org.desktopspec.ApplicationManager1";
|
||||
constexpr auto InstanceInterface = "org.desktopspec.ApplicationManager1.Instance";
|
||||
constexpr auto ApplicationInterface = "org.desktopspec.ApplicationManager1.Application";
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user