fixed linux

This commit is contained in:
Patrick von Reth 2014-01-19 19:30:02 +01:00
parent 3494164dce
commit b4b73a8f36
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ void FreedesktopBackend::slotNotify ( Notification noti )
uint updateId = 0;
if(noti.isUpdate())
{
updateId = noti.notificationToReplace().id();
updateId = noti.old().hints().privateValue(this, "id").toUInt();
m_dbusIdMap.take(updateId);
}
@ -89,7 +89,7 @@ void FreedesktopBackend::slotNotify ( Notification noti )
body = Snore::toPlainText(body);
}
QDBusPendingReply<uint> id = m_interface->Notify(noti.application().name(), updateId, "", title,
body, actions, hints, noti.sticky()?-1:noti.timeout()*1000);
body, actions, hints, noti.isSticky()?-1:noti.timeout()*1000);
id.waitForFinished();