mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Fix linting issues
This commit is contained in:
parent
7c630b1363
commit
9671b1c0d6
2 changed files with 16 additions and 18 deletions
|
@ -179,7 +179,6 @@ TimelineItem::init()
|
||||||
contextMenu_->addAction(markAsRead_);
|
contextMenu_->addAction(markAsRead_);
|
||||||
contextMenu_->addAction(redactMsg_);
|
contextMenu_->addAction(redactMsg_);
|
||||||
|
|
||||||
|
|
||||||
connect(showReadReceipts_, &QAction::triggered, this, [this]() {
|
connect(showReadReceipts_, &QAction::triggered, this, [this]() {
|
||||||
if (!event_id_.isEmpty())
|
if (!event_id_.isEmpty())
|
||||||
MainWindow::instance()->openReadReceiptsDialog(event_id_);
|
MainWindow::instance()->openReadReceiptsDialog(event_id_);
|
||||||
|
@ -870,13 +869,13 @@ TimelineItem::addReplyAction()
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
TimelineItem::replyAction() {
|
TimelineItem::replyAction()
|
||||||
|
{
|
||||||
if (!body_)
|
if (!body_)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
emit ChatPage::instance()->messageReply(
|
emit ChatPage::instance()->messageReply(
|
||||||
Cache::displayName(room_id_, descriptionMsg_.userid),
|
Cache::displayName(room_id_, descriptionMsg_.userid), body_->toPlainText());
|
||||||
body_->toPlainText());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -307,7 +307,6 @@ private:
|
||||||
|
|
||||||
FlatButton *replyBtn_;
|
FlatButton *replyBtn_;
|
||||||
FlatButton *contextBtn_;
|
FlatButton *contextBtn_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template<class Widget>
|
template<class Widget>
|
||||||
|
|
Loading…
Reference in a new issue