Commit 8173bee9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove unused code

parent f490e31b
......@@ -472,12 +472,6 @@ void KNote::slotPrintPreview()
void KNote::print(bool preview)
{
QString content;
if (!Qt::mightBeRichText(m_editor->text())) {
content = Qt::convertFromPlainText(m_editor->text());
} else {
content = m_editor->text();
}
if (isModified()) {
saveNote();
}
......
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