- Fix a bug: showNotification() does not return a result
*/
int STD_Application::showNotification(const QString& message, const QString& title, int timeout)
{
+ int uid = -1;
QtxNotify* ntfMgr = notifyMgr();
if (ntfMgr)
{
if (aResMgr)
delay = aResMgr->integerValue("notification", "timeout", 0) * 1000;
}
- ntfMgr->showNotification(message, title, qMax(delay, 0));
+ uid = ntfMgr->showNotification(message, title, qMax(delay, 0));
}
+ return uid;
}
/*!