From 3e05291f09361f4a8cdd20bc025ad89e70cba0d6 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Tue, 4 Oct 2011 00:41:41 +0200 Subject: Disable insertion of rich text as it caused copy and paste errors. Reported and fixed by 'Moc' diff --git a/src/editor.h b/src/editor.h index c2f3333..3088d20 100644 --- a/src/editor.h +++ b/src/editor.h @@ -22,7 +22,7 @@ public slots: //void zoomOut() { zoom(-1); } void zoomOut(int n = 1) { zoom(-n); } #else - Editor(QWidget *parent) : QTextEdit(parent) {} + Editor(QWidget *parent) : QTextEdit(parent) { setAcceptRichText(false); } public slots: void setLineWrapping(bool on) { if(on) setWordWrapMode(QTextOption::WrapAnywhere); } void setContentModified(bool y) { document()->setModified(y); } -- cgit v0.10.1