From 9da7effa3dd8bbacbc58d2be47a17d631e261c81 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 12 Sep 2010 20:49:11 +0300 Subject: Improve chat speed. Parse chat lines in BrowserBox once after changes. Reviewed-by: Thorbjorn --- src/gui/widgets/chattab.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/widgets/chattab.cpp') diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index 8bf57508..bbb2b8bb 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -53,6 +53,7 @@ ChatTab::ChatTab(const std::string &name) : Tab() mTextOutput->setOpaque(false); mTextOutput->setMaxRow((int) config.getValue("ChatLogLength", 0)); mTextOutput->setLinkHandler(chatWindow->mItemLinkHandler); + mTextOutput->setAlwaysUpdate(false); mScrollArea = new ScrollArea(mTextOutput); mScrollArea->setScrollPolicy(gcn::ScrollArea::SHOW_NEVER, -- cgit v1.2.3-70-g09d2