From 9684d3b0a087b44b39ae8b007c08f82d3ddc6d8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 11 Jun 2015 01:49:13 +0200 Subject: GH-1008 implement log window max line count Defaults to 100k lines --- application/pages/LogPage.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'application/pages/LogPage.h') diff --git a/application/pages/LogPage.h b/application/pages/LogPage.h index 15c123d7..0cbf3d23 100644 --- a/application/pages/LogPage.h +++ b/application/pages/LogPage.h @@ -53,6 +53,7 @@ public: return "Minecraft-Logs"; } virtual bool shouldDisplay() const; + virtual void setParentContainer(BasePageContainer *); private slots: /** @@ -81,6 +82,8 @@ private: bool m_scroll_active = true; int m_saved_offset = 0; bool m_write_active = true; + bool m_stopOnOverflow = true; QTextCharFormat * defaultFormat; + BasePageContainer * m_parentContainer; }; -- cgit v1.2.3