From 9615dc6d764abc79f660c047f078fb1154df4b92 Mon Sep 17 00:00:00 2001 From: ubbo Date: Tue, 6 Dec 2011 19:48:08 +0000 Subject: disable richtext pasting git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@669 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- editorpage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editorpage.cpp b/editorpage.cpp index c28059d..acf1dcd 100644 --- a/editorpage.cpp +++ b/editorpage.cpp @@ -25,6 +25,7 @@ EditorPage::EditorPage(const QString &filePath, QWidget *parent) : QWidget(paren fullFilePath(filePath) { textPage = new QTextEdit(); + textPage->setAcceptRichText(false); mainLayout = new QVBoxLayout(); mainLayout->setSpacing(0); mainLayout->addWidget(textPage); -- cgit v1.2.3