aboutsummaryrefslogtreecommitdiffstats
path: root/editorpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editorpage.cpp')
-rw-r--r--editorpage.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}