mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 20:04:24 -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
|
@ -451,13 +451,14 @@ void MainWindow::addAction(QAction *action, const char *slot)
|
|||
}
|
||||
|
||||
/** Shows the MainWindow with focus set to the given page. */
|
||||
void MainWindow::showWindow(Page page)
|
||||
/*static*/ void MainWindow::showWindow(Page page)
|
||||
{
|
||||
/* Show the dialog. */
|
||||
//show();
|
||||
if (_instance == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* Show the dialog. */
|
||||
RWindow::showWindow();
|
||||
_instance->show();
|
||||
/* Set the focus to the specified page. */
|
||||
activatePage (page);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue