summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mainwin.cc')
-rw-r--r--mainwin.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/mainwin.cc b/mainwin.cc
index 7f78bcb..1e4876a 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -78,6 +78,10 @@ MainWindow::MainWindow(const char *filename)
s1 = new QSplitter(Qt::Horizontal, this);
editor = new QTextEdit(s1);
+ QFont font;
+ font.setStyleHint(QFont::TypeWriter);
+ editor->setFont(font);
+
QWidget *w1 = new QWidget(s1);
QVBoxLayout *l1 = new QVBoxLayout(w1);
l1->setSpacing(0);
contact: Jan Huwald // Impressum