fix: correct property name
Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
parent
d35ef8ae1f
commit
b813d3d86b
@ -9,7 +9,7 @@
|
|||||||
<property name="Categories" type="as" access="read"/>
|
<property name="Categories" type="as" access="read"/>
|
||||||
<property name="X_linglong" type="b" access="read"/>
|
<property name="X_linglong" type="b" access="read"/>
|
||||||
<property name="X_Flatpak" type="b" access="read"/>
|
<property name="X_Flatpak" type="b" access="read"/>
|
||||||
<property name="X_Vendor_Deepin" type="s" access="read">
|
<property name="X_Deepin_Vendor" type="s" access="read">
|
||||||
<annotation name="org.freedesktop.DBus.Description" value="Whem this property is 'deepin', display name of the application
|
<annotation name="org.freedesktop.DBus.Description" value="Whem this property is 'deepin', display name of the application
|
||||||
should use GenericName."
|
should use GenericName."
|
||||||
/>
|
/>
|
||||||
|
@ -476,7 +476,7 @@ bool ApplicationService::x_linglong() const noexcept
|
|||||||
return !val.isNull();
|
return !val.isNull();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString ApplicationService::x_Vendor_Deepin() const noexcept
|
QString ApplicationService::X_Deepin_Vendor() const noexcept
|
||||||
{
|
{
|
||||||
return findEntryValue(DesktopFileEntryKey, "X-Deepin-Vendor", EntryValueType::String).toString();
|
return findEntryValue(DesktopFileEntryKey, "X-Deepin-Vendor", EntryValueType::String).toString();
|
||||||
}
|
}
|
||||||
|
@ -89,8 +89,8 @@ public:
|
|||||||
Q_PROPERTY(bool X_linglong READ x_linglong NOTIFY x_linglongChanged)
|
Q_PROPERTY(bool X_linglong READ x_linglong NOTIFY x_linglongChanged)
|
||||||
[[nodiscard]] bool x_linglong() const noexcept;
|
[[nodiscard]] bool x_linglong() const noexcept;
|
||||||
|
|
||||||
Q_PROPERTY(QString X_Vendor_Deepin READ x_Vendor_Deepin)
|
Q_PROPERTY(QString X_Deepin_Vendor READ X_Deepin_Vendor)
|
||||||
[[nodiscard]] QString x_Vendor_Deepin() const noexcept;
|
[[nodiscard]] QString X_Deepin_Vendor() const noexcept;
|
||||||
|
|
||||||
Q_PROPERTY(qulonglong installedTime READ installedTime NOTIFY installedTimeChanged)
|
Q_PROPERTY(qulonglong installedTime READ installedTime NOTIFY installedTimeChanged)
|
||||||
[[nodiscard]] qulonglong installedTime() const noexcept;
|
[[nodiscard]] qulonglong installedTime() const noexcept;
|
||||||
|
Loading…
Reference in New Issue
Block a user