mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 01:01:40 -04:00
- removed MessagesPopupDialog
- click in MessageToaster shows the MainWindow and activates the MessagesDialog git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2980 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
54219ea685
commit
591a141a18
8 changed files with 12 additions and 223 deletions
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
#include "MessageToaster.h"
|
||||
#include "gui/MessagesPopupDialog.h"
|
||||
#include "../MainWindow.h"
|
||||
|
||||
MessageToaster::MessageToaster( QWidget * parent, Qt::WFlags f)
|
||||
: QWidget(parent, f)
|
||||
|
@ -104,10 +104,7 @@ void MessageToaster::closeClicked()
|
|||
|
||||
void MessageToaster::openmessageClicked()
|
||||
{
|
||||
MessagesPopupDialog *msgdialog = new MessagesPopupDialog();
|
||||
msgdialog->show();
|
||||
|
||||
/* window will destroy itself! */
|
||||
MainWindow::showWindow (MainWindow::Messages);
|
||||
}
|
||||
|
||||
void MessageToaster::setMessage(const QString & message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue