fix: build faild
dumpDBusObject
This commit is contained in:
parent
60414b5271
commit
e827f404ac
@ -81,7 +81,7 @@ QString MimeManager1Service::queryDefaultApplication(const QString &content, QDB
|
||||
qWarning() << "default application has been found:" << defaultAppId
|
||||
<< " but we can't find corresponding application in ApplicationManagerService.";
|
||||
} else {
|
||||
application = apps.firstKey();
|
||||
application = apps.keys().first();
|
||||
}
|
||||
|
||||
return type;
|
||||
|
@ -540,8 +540,8 @@ inline unitInfo processUnitName(const QString &unitName)
|
||||
return {unescapeApplicationId(applicationId), std::move(launcher), std::move(instanceId)};
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
ObjectMap dumpDBusObject(const QMap<QDBusObjectPath, QSharedPointer<T>> &map)
|
||||
template <template<typename, typename> class Container, typename QDBusObjectPath, typename T>
|
||||
ObjectMap dumpDBusObject(const Container<QDBusObjectPath, QSharedPointer<T>> &map)
|
||||
{
|
||||
ObjectMap objs;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user