summaryrefslogtreecommitdiff
path: root/src/gui/whoisonline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-13 17:52:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-13 17:52:35 +0300
commit12e311bd5261078e02bffe63e125f89ae1a57209 (patch)
tree9a71f8e4ca78ea6f5eb09ccdb3bd6cd95830c884 /src/gui/whoisonline.cpp
parent258f968327f6e790e11e809070c5ea5dc21a299c (diff)
downloadplus-12e311bd5261078e02bffe63e125f89ae1a57209.tar.gz
plus-12e311bd5261078e02bffe63e125f89ae1a57209.tar.bz2
plus-12e311bd5261078e02bffe63e125f89ae1a57209.tar.xz
plus-12e311bd5261078e02bffe63e125f89ae1a57209.zip
Move some code from logic queue to separate calls.
It can improve perfomance in slow systems.
Diffstat (limited to 'src/gui/whoisonline.cpp')
-rw-r--r--src/gui/whoisonline.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp
index a7cbca7cc..d3f316021 100644
--- a/src/gui/whoisonline.cpp
+++ b/src/gui/whoisonline.cpp
@@ -599,7 +599,10 @@ void WhoIsOnline::logic()
{
// Update Scroll logic
mScrollArea->logic();
+}
+void WhoIsOnline::slowLogic()
+{
if (!mAllowUpdate)
return;