mirror of
https://gitee.com/Zhaoxin59/my-chat_-client.git
synced 2026-02-14 00:51:48 +08:00
add choose friend to group chats
This commit is contained in:
@ -86,11 +86,11 @@ SessionDetailWidget::SessionDetailWidget(QWidget *parent)
|
||||
deleteFriendBtn->setStyleSheet(style);
|
||||
layout->addWidget(deleteFriendBtn, 1, 0, 1, 3);
|
||||
|
||||
//// 6. 添加信号槽, 处理点击 "创建群聊" 按钮
|
||||
//connect(createGroupBtn->getAvatar(), &QPushButton::clicked, this, [=]() {
|
||||
// ChooseFriendDialog* chooseFriendDialog = new ChooseFriendDialog(this, userInfo.userId);
|
||||
// chooseFriendDialog->exec();
|
||||
// });
|
||||
// 6. 添加信号槽, 处理点击 "创建群聊" 按钮
|
||||
connect(createGroupBtn->getAvatar(), &QPushButton::clicked, this, [=]() {
|
||||
ChooseFriendDialog* chooseFriendDialog = new ChooseFriendDialog(this);
|
||||
chooseFriendDialog->exec();
|
||||
});
|
||||
|
||||
//connect(deleteFriendBtn, &QPushButton::clicked, this, &SessionDetailWidget::clickDeleteFriendBtn);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user