GH-1008 implement log window max line count

Defaults to 100k lines
This commit is contained in:
Petr Mrázek
2015-06-11 01:49:13 +02:00
parent 1feb4bb387
commit 9684d3b0a0
5 changed files with 91 additions and 1 deletions

View File

@ -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;
};