Removed old RsNotify code (NOTIFY_LIST_MESSAGE_TAGS) from message service

This commit is contained in:
thunder2 2021-12-30 23:55:26 +01:00
parent f59ede23e1
commit 3eb910a25f
15 changed files with 160 additions and 37 deletions

View file

@ -160,8 +160,6 @@ MessageWidget::MessageWidget(bool controlled, QWidget *parent, Qt::WindowFlags f
viewsource->setShortcut(QKeySequence("CTRL+O"));
connect(viewsource, SIGNAL(triggered()), this, SLOT(viewSource()));
connect(NotifyQt::getInstance(), SIGNAL(messagesTagsChanged()), this, SLOT(messagesTagsChanged()));
ui.imageBlockWidget->addButtonAction(tr("Load images always for this message"), this, SLOT(loadImagesAlways()), true);
ui.msgText->setImageBlockWidget(ui.imageBlockWidget);
@ -252,6 +250,9 @@ void MessageWidget::handleEvent_main_thread(std::shared_ptr<const RsEvent> event
}
}
break;
case RsMailStatusEventCode::TAG_CHANGED:
messagesTagsChanged();
break;
case RsMailStatusEventCode::MESSAGE_SENT:
case RsMailStatusEventCode::MESSAGE_CHANGED:
case RsMailStatusEventCode::NEW_MESSAGE: