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/textedit.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugingui/textedit.h') diff --git a/plugingui/textedit.h b/plugingui/textedit.h index 3eaf02f..9ca0301 100644 --- a/plugingui/textedit.h +++ b/plugingui/textedit.h @@ -53,7 +53,6 @@ public: void setReadOnly(bool readonly); bool readOnly(); - void adaptTextOnResize(bool adapt); void preprocessText(); Notifier<> textChangedNotifier; @@ -76,7 +75,6 @@ private: std::string _text; - bool adapt_text_on_resize{false}; bool readonly{true}; std::list< std::string > preprocessedtext; -- cgit v1.2.3