mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed showing info page in ChatLobbyWidget.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6761 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6a9dfed408
commit
3ced628dc3
@ -550,7 +550,7 @@ void ChatLobbyWidget::showBlankPage(ChatLobbyId id)
|
||||
{
|
||||
// show the default blank page.
|
||||
stackedWidget->setCurrentWidget(_lobby_blank_page) ;
|
||||
|
||||
|
||||
// Update information
|
||||
std::vector<VisibleChatLobbyRecord> lobbies;
|
||||
rsMsgs->getListOfNearbyChatLobbies(lobbies);
|
||||
@ -565,20 +565,20 @@ void ChatLobbyWidget::showBlankPage(ChatLobbyId id)
|
||||
lobbypeers_lineEdit->setText( QString::number((*it).total_number_of_peers) );
|
||||
|
||||
lobbyinfo_label->setText(tr("You're not subscribed to this lobby; Double click-it to enter and chat.") );
|
||||
|
||||
|
||||
return ;
|
||||
}
|
||||
|
||||
lobbyname_lineEdit->clear();
|
||||
lobbyid_lineEdit->clear();
|
||||
lobbytopic_lineEdit->clear();
|
||||
lobbytype_lineEdit->clear();
|
||||
lobbypeers_lineEdit->clear();
|
||||
|
||||
lobbyname_lineEdit->clear();
|
||||
lobbyid_lineEdit->clear();
|
||||
lobbytopic_lineEdit->clear();
|
||||
lobbytype_lineEdit->clear();
|
||||
lobbypeers_lineEdit->clear();
|
||||
|
||||
QString text = tr("No lobby selected. \nSelect lobbies at left to show details.\nDouble click lobbies to enter and chat.") ;
|
||||
lobbyinfo_label->setText(text) ;
|
||||
|
||||
}
|
||||
|
||||
void ChatLobbyWidget::subscribeItem()
|
||||
{
|
||||
subscribeLobby(lobbyTreeWidget->currentItem());
|
||||
|
@ -79,7 +79,6 @@ private:
|
||||
ChatTabWidget *tabWidget ;
|
||||
|
||||
std::map<ChatLobbyId,ChatLobbyInfoStruct> _lobby_infos ;
|
||||
QTextBrowser *_lobby_blank_page ;
|
||||
|
||||
std::map<QTreeWidgetItem*,time_t> _icon_changed_map ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user