Commit e9ebe426 authored by Laurent Montel's avatar Laurent Montel 😁

Add text directly

parent df7cc63a
......@@ -738,8 +738,7 @@ void KNotesPart::slotSaveAs()
QCheckBox *convert = nullptr;
if (knoteItem->isRichText()) {
convert = new QCheckBox(nullptr);
convert->setText(i18n("Save note as plain text"));
convert = new QCheckBox(i18n("Save note as plain text"), nullptr);
}
QPointer<KFileDialog> dlg = new KFileDialog(url, QString(), widget(), convert);
dlg->setOperationMode(KFileDialog::Saving);
......
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