Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 91cf8d87 authored by Laurent Montel's avatar Laurent Montel 😁

Remove comment

parent e56b803f
......@@ -53,7 +53,6 @@ void GrammarResultTextEdit::applyGrammarResult(const QVector<GrammalecteGrammarE
//Verify color
format.setBackground(info.color().isValid() ? info.color() : QColor(Qt::red));
MessageComposer::PluginGrammarAction act;
......@@ -76,7 +75,6 @@ void GrammarResultTextEdit::contextMenuEvent(QContextMenuEvent *event)
QTextCursor cursor = cursorForPosition(event->pos());
if (cursor.charFormat().hasProperty(ReplaceFormatInfo)) {
const MessageComposer::PluginGrammarAction act = cursor.charFormat().property(ReplaceFormatInfo).value<MessageComposer::PluginGrammarAction>();
//qDebug() << " property " << act;
QMenu *popupReplacement = popup->addMenu(i18n("Replacement"));
for (const QString &str : act.suggestions()) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment