summaryrefslogtreecommitdiff
path: root/plugingui/mainwindow.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-18 10:58:52 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-18 10:58:52 +0200
commit37cb6cefcab6be0a1337e0a346d6e259f8dbbb5f (patch)
treee85d93bc3557ae6216cfc3634a9821ffdc015a88 /plugingui/mainwindow.cc
parent8ba4c6c7f3317d9e3c4465be15265e7f72d4ab28 (diff)
Revert preprocessing on resize for TextEdit. It was just plain dumb.
Diffstat (limited to 'plugingui/mainwindow.cc')
-rw-r--r--plugingui/mainwindow.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugingui/mainwindow.cc b/plugingui/mainwindow.cc
index b37185c..e57008d 100644
--- a/plugingui/mainwindow.cc
+++ b/plugingui/mainwindow.cc
@@ -56,7 +56,6 @@ MainWindow::MainWindow(Settings& settings, void* native_window)
tabs.addTab("About", &about_text_field);
about_text_field.setText(getAboutText());
- about_text_field.adaptTextOnResize(true);
about_text_field.setReadOnly(true);
}
@@ -118,7 +117,6 @@ void MainWindow::repaintEvent(RepaintEvent* repaintEvent)
void MainWindow::sizeChanged(std::size_t width, std::size_t height)
{
- about_text_field.preprocessText();
tabs.resize(width - 2 * 16, height);
}