made Link a struct

This commit is contained in:
fourtf
2018-01-28 03:52:52 +01:00
parent 99aac9eb6a
commit 11775071b9
4 changed files with 10 additions and 28 deletions
+2 -2
View File
@@ -74,8 +74,8 @@ void SplitInput::initLayout()
if (!this->emotePopup) {
this->emotePopup = std::make_unique<EmotePopup>(this->themeManager);
this->emotePopup->linkClicked.connect([this](const messages::Link &link) {
if (link.getType() == messages::Link::InsertText) {
this->insertText(link.getValue() + " ");
if (link.type == messages::Link::InsertText) {
this->insertText(link.value + " ");
}
});
}