Fix lambda capture and lint issues

This commit is contained in:
redsky17 2019-06-11 22:34:15 -04:00
parent 756c7d1671
commit 71c1cbcfd1
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB
2 changed files with 4 additions and 2 deletions

View file

@ -76,7 +76,7 @@ FilteredTextEdit::FilteredTextEdit(QWidget *parent)
&FilteredTextEdit::uploadData);
connect(this, &FilteredTextEdit::resultsRetrieved, this, &FilteredTextEdit::showResults);
connect(&replyPopup_, &ReplyPopup::userSelected, this, [this](const QString &text) {
connect(&replyPopup_, &ReplyPopup::userSelected, this, [](const QString &text) {
// TODO: Show user avatar window.
nhlog::ui()->info("User selected: " + text.toStdString());
});