summaryrefslogtreecommitdiffstats
path: root/application/pages/LogPage.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-06-11 01:49:13 +0200
committerPetr Mrázek <peterix@gmail.com>2015-06-11 01:50:20 +0200
commit9684d3b0a087b44b39ae8b007c08f82d3ddc6d8f (patch)
tree628d025e770e8c28998be2415743c11d181a396e /application/pages/LogPage.h
parent1feb4bb387f1dc559a6d368f77171a6e066a69e6 (diff)
downloadMultiMC-9684d3b0a087b44b39ae8b007c08f82d3ddc6d8f.tar
MultiMC-9684d3b0a087b44b39ae8b007c08f82d3ddc6d8f.tar.gz
MultiMC-9684d3b0a087b44b39ae8b007c08f82d3ddc6d8f.tar.lz
MultiMC-9684d3b0a087b44b39ae8b007c08f82d3ddc6d8f.tar.xz
MultiMC-9684d3b0a087b44b39ae8b007c08f82d3ddc6d8f.zip
GH-1008 implement log window max line count
Defaults to 100k lines
Diffstat (limited to 'application/pages/LogPage.h')
-rw-r--r--application/pages/LogPage.h3
1 files changed, 3 insertions, 0 deletions
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;
};