|
|
|
@ -287,7 +287,7 @@ void FriendWidget::showDetails()
@@ -287,7 +287,7 @@ void FriendWidget::showDetails()
|
|
|
|
|
const auto frnd = chatroom->getFriend(); |
|
|
|
|
const auto iabout = new AboutFriend(frnd, &Settings::getInstance()); |
|
|
|
|
std::unique_ptr<IAboutFriend> about = std::unique_ptr<IAboutFriend>(iabout); |
|
|
|
|
const auto aboutUser = new AboutFriendForm(std::move(about), Widget::getInstance()); |
|
|
|
|
const auto aboutUser = new AboutFriendForm(std::move(about), this); |
|
|
|
|
connect(aboutUser, &AboutFriendForm::histroyRemoved, this, &FriendWidget::friendHistoryRemoved); |
|
|
|
|
aboutUser->show(); |
|
|
|
|
} |
|
|
|
|