Add initial QML Reply Popup

This commit is contained in:
Joseph Donofry 2020-01-27 23:28:11 -05:00
parent 73cf7b239b
commit 2b8b04a04b
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB
5 changed files with 115 additions and 3 deletions

View file

@ -504,6 +504,9 @@ ChatPage::ChatPage(QSharedPointer<UserSettings> userSettings, QWidget *parent)
connect(this, &ChatPage::dropToLoginPageCb, this, &ChatPage::dropToLoginPage);
connect(this, &ChatPage::messageReply, text_input_, &TextInputWidget::addReply);
connect(this, &ChatPage::messageReply, this, [this](const RelatedInfo &related) {
view_manager_->updateReplyingEvent(QString::fromStdString(related.related_event));
});
instance_ = this;
}