mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
fixed auto-raise of pages that are not in the top level
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
718314af75
commit
6e9d1beda9
6 changed files with 69 additions and 29 deletions
|
@ -228,6 +228,19 @@ FriendsDialog::~FriendsDialog ()
|
|||
}
|
||||
}
|
||||
|
||||
void FriendsDialog::activatePage(FriendsDialog::Page page)
|
||||
{
|
||||
switch(page)
|
||||
{
|
||||
case FriendsDialog::NetworkTab: ui.tabWidget->setCurrentWidget(networkDialog) ;
|
||||
break ;
|
||||
case FriendsDialog::BroadcastTab: ui.tabWidget->setCurrentWidget(networkDialog) ;
|
||||
break ;
|
||||
case FriendsDialog::NetworkViewTab: ui.tabWidget->setCurrentWidget(networkView) ;
|
||||
break ;
|
||||
}
|
||||
}
|
||||
|
||||
UserNotify *FriendsDialog::getUserNotify(QObject *parent)
|
||||
{
|
||||
return new ChatUserNotify(parent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue