|
|
|
@ -255,11 +255,7 @@ void StatusNotifierItemSource::refreshCallback(QDBusPendingCallWatcher *call)
|
|
|
|
KDbusToolTipStruct toolTip;
|
|
|
|
KDbusToolTipStruct toolTip;
|
|
|
|
properties[QStringLiteral("ToolTip")].value<QDBusArgument>() >> toolTip;
|
|
|
|
properties[QStringLiteral("ToolTip")].value<QDBusArgument>() >> toolTip;
|
|
|
|
m_tooltip = toolTip.title;
|
|
|
|
m_tooltip = toolTip.title;
|
|
|
|
|
|
|
|
m_subTitle = toolTip.subTitle;
|
|
|
|
// Use ID as an alternative :)
|
|
|
|
|
|
|
|
if (m_tooltip.isEmpty() && m_title.isEmpty()) {
|
|
|
|
|
|
|
|
m_tooltip = properties[QStringLiteral("Id")].toString();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Icon
|
|
|
|
// Icon
|
|
|
|
KDbusImageVector image;
|
|
|
|
KDbusImageVector image;
|
|
|
|
|