Fixed icon to toggle participants frame in chat dialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7890 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-01-31 11:23:09 +00:00
parent 327c369d5c
commit 9a9ea9b55a

View File

@ -592,10 +592,10 @@ void ChatLobbyDialog::showParticipantsFrame(bool show)
if (show) { if (show) {
ui.participantsFrameButton->setToolTip(tr("Hide Participants")); ui.participantsFrameButton->setToolTip(tr("Hide Participants"));
ui.participantsFrameButton->setIcon(QIcon(":images/hide_toolbox_frame.png")); ui.participantsFrameButton->setIcon(QIcon(":images/show_toolbox_frame.png"));
} else { } else {
ui.participantsFrameButton->setToolTip(tr("Show Participants")); ui.participantsFrameButton->setToolTip(tr("Show Participants"));
ui.participantsFrameButton->setIcon(QIcon(":images/show_toolbox_frame.png")); ui.participantsFrameButton->setIcon(QIcon(":images/hide_toolbox_frame.png"));
} }
PeerSettings->setShowParticipantsFrame(ChatId(lobbyId), show); PeerSettings->setShowParticipantsFrame(ChatId(lobbyId), show);