fixed freedesktop build
This commit is contained in:
parent
271050cb22
commit
b55e63af7d
|
@ -79,7 +79,7 @@ Hint &Application::hints()
|
||||||
return d->m_hint;
|
return d->m_hint;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Hint &Application::consHints() const
|
const Hint &Application::constHints() const
|
||||||
{
|
{
|
||||||
return d->m_hint;
|
return d->m_hint;
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ public:
|
||||||
bool isValid() const;
|
bool isValid() const;
|
||||||
|
|
||||||
Hint &hints();
|
Hint &hints();
|
||||||
const Hint &consHints() const;
|
const Hint &constHints() const;
|
||||||
private:
|
private:
|
||||||
QExplicitlySharedDataPointer<ApplicationData> d;
|
QExplicitlySharedDataPointer<ApplicationData> d;
|
||||||
|
|
||||||
|
|
|
@ -55,9 +55,9 @@ void FreedesktopBackend::slotNotify ( Notification noti )
|
||||||
hints["urgency"] = (char)noti.priority()+1;
|
hints["urgency"] = (char)noti.priority()+1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(noti.application().hints().contains("desktop-entry"))
|
if(noti.application().constHints().contains("desktop-entry"))
|
||||||
{
|
{
|
||||||
hints["desktop-entry"] = noti.application().hints().value("desktop-entry");
|
hints["desktop-entry"] = noti.application().constHints().value("desktop-entry");
|
||||||
}
|
}
|
||||||
|
|
||||||
uint updateId = 0;
|
uint updateId = 0;
|
||||||
|
|
Loading…
Reference in New Issue