From 37cb6cefcab6be0a1337e0a346d6e259f8dbbb5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Tue, 18 Apr 2017 10:58:52 +0200 Subject: Revert preprocessing on resize for TextEdit. It was just plain dumb. --- plugingui/mainwindow.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugingui/mainwindow.cc') 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); } -- cgit v1.2.3