Commit b857d634 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix coding style

parent 68ee285c
Pipeline #25578 passed with stage
in 9 minutes and 4 seconds
...@@ -490,7 +490,7 @@ void RichTextComposerActions::createActions(KActionCollection *ac) ...@@ -490,7 +490,7 @@ void RichTextComposerActions::createActions(KActionCollection *ac)
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)) #if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
d->action_list_checkbox = new KToggleAction(QIcon::fromTheme(QStringLiteral("checkbox")), d->action_list_checkbox = new KToggleAction(QIcon::fromTheme(QStringLiteral("checkbox")),
i18nc("@action", "Checkbox"), this); i18nc("@action", "Checkbox"), this);
d->richTextActionList.append(d->action_list_checkbox); d->richTextActionList.append(d->action_list_checkbox);
d->action_list_checkbox->setObjectName(QStringLiteral("format_list_checkbox")); d->action_list_checkbox->setObjectName(QStringLiteral("format_list_checkbox"));
connect(d->action_list_checkbox, &KToggleAction::toggled, connect(d->action_list_checkbox, &KToggleAction::toggled,
......
...@@ -178,6 +178,7 @@ void RichTextComposerControler::addCheckbox(bool add) ...@@ -178,6 +178,7 @@ void RichTextComposerControler::addCheckbox(bool add)
cursor.mergeBlockFormat(fmt); cursor.mergeBlockFormat(fmt);
cursor.endEditBlock(); cursor.endEditBlock();
} }
#endif #endif
void RichTextComposerControler::setFontForWholeText(const QFont &font) void RichTextComposerControler::setFontForWholeText(const QFont &font)
......
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