aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-06 19:48:08 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-06 19:48:08 +0000
commit9615dc6d764abc79f660c047f078fb1154df4b92 (patch)
tree92ee6acd085088a8e6fca684420d7d0e928a525b
parentfile encryption dialog configurable for encrypt / decrypt / both. popup menu ... (diff)
downloadgpg4usb-9615dc6d764abc79f660c047f078fb1154df4b92.tar.gz
gpg4usb-9615dc6d764abc79f660c047f078fb1154df4b92.zip
disable richtext pasting
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@669 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r--editorpage.cpp1
1 files changed, 1 insertions, 0 deletions
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);