From 9942ea51dfbf0d1e86dbda35e4cfc02e561b54f6 Mon Sep 17 00:00:00 2001 From: nils Date: Sun, 4 Dec 2011 12:43:58 +0000 Subject: changed qplaintextedit to qtextedit git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@652 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- editorpage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editorpage.cpp') diff --git a/editorpage.cpp b/editorpage.cpp index c89ba4a..c28059d 100644 --- a/editorpage.cpp +++ b/editorpage.cpp @@ -24,7 +24,7 @@ EditorPage::EditorPage(const QString &filePath, QWidget *parent) : QWidget(parent), fullFilePath(filePath) { - textPage = new QPlainTextEdit(); + textPage = new QTextEdit(); mainLayout = new QVBoxLayout(); mainLayout->setSpacing(0); mainLayout->addWidget(textPage); @@ -39,7 +39,7 @@ const QString& EditorPage::getFilePath() const return fullFilePath; } -QPlainTextEdit* EditorPage::getTextPage() +QTextEdit* EditorPage::getTextPage() { return textPage; } -- cgit v1.2.3