mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
- Changes to MessageToaster - display Subject and Content of incoming messages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3123 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
52b8e37295
commit
39c6af6638
@ -107,9 +107,17 @@ void MessageToaster::openmessageClicked()
|
|||||||
MainWindow::showWindow (MainWindow::Messages);
|
MainWindow::showWindow (MainWindow::Messages);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MessageToaster::setTitle(const QString & title)
|
||||||
|
{
|
||||||
|
subjectline->setText("Sub: " + title);
|
||||||
|
subjectline->setToolTip(title);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void MessageToaster::setMessage(const QString & message)
|
void MessageToaster::setMessage(const QString & message)
|
||||||
{
|
{
|
||||||
messagelabel->setText(message);
|
contentBrowser->setText(message);
|
||||||
|
contentBrowser->setToolTip(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MessageToaster::setName(const QString & name)
|
void MessageToaster::setName(const QString & name)
|
||||||
|
Loading…
Reference in New Issue
Block a user