mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 14:30:43 -04:00
Added a History Browser for GroupChat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3420 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
af4667232b
commit
7dd99a0c35
7 changed files with 198 additions and 16 deletions
|
@ -52,6 +52,8 @@
|
|||
#include "gui/forums/CreateForum.h"
|
||||
#include "gui/channels/CreateChannel.h"
|
||||
#include "gui/feeds/AttachFileItem.h"
|
||||
#include "gui/im_history/ImHistoryBrowser.h"
|
||||
|
||||
#include "RetroShareLink.h"
|
||||
|
||||
#include "MainWindow.h"
|
||||
|
@ -221,7 +223,7 @@ PeersDialog::PeersDialog(QWidget *parent)
|
|||
QMenu * grpchatmenu = new QMenu();
|
||||
grpchatmenu->addAction(ui.actionClearChat);
|
||||
grpchatmenu->addAction(ui.actionSave_History);
|
||||
//grpchatmenu->addAction(ui.actionDisable_Emoticons);
|
||||
grpchatmenu->addAction(ui.actionMessageHistory);
|
||||
ui.menuButton->setMenu(grpchatmenu);
|
||||
|
||||
_underline = false;
|
||||
|
@ -1887,3 +1889,9 @@ void PeersDialog::statusColumn()
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
void PeersDialog::on_actionMessageHistory_triggered()
|
||||
{
|
||||
ImHistoryBrowser imBrowser(this);
|
||||
imBrowser.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue