summaryrefslogtreecommitdiff
path: root/src/gui/botcheckerwindow.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/botcheckerwindow.cpp
parent258f968327f6e790e11e809070c5ea5dc21a299c (diff)
downloadManaVerse-12e311bd5261078e02bffe63e125f89ae1a57209.tar.gz
ManaVerse-12e311bd5261078e02bffe63e125f89ae1a57209.tar.bz2
ManaVerse-12e311bd5261078e02bffe63e125f89ae1a57209.tar.xz
ManaVerse-12e311bd5261078e02bffe63e125f89ae1a57209.zip
Move some code from logic queue to separate calls.
It can improve perfomance in slow systems.
Diffstat (limited to 'src/gui/botcheckerwindow.cpp')
-rw-r--r--src/gui/botcheckerwindow.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/botcheckerwindow.cpp b/src/gui/botcheckerwindow.cpp
index 6ed6a2a3d..2a811fc3a 100644
--- a/src/gui/botcheckerwindow.cpp
+++ b/src/gui/botcheckerwindow.cpp
@@ -343,7 +343,7 @@ BotCheckerWindow::~BotCheckerWindow()
config.removeListener("enableBotCheker", this);
}
-void BotCheckerWindow::logic()
+void BotCheckerWindow::slowLogic()
{
if (mEnabled && mTableModel)
{
@@ -361,8 +361,6 @@ void BotCheckerWindow::logic()
mLastUpdateTime = nowTime;
}
}
-
- Window::logic();
}
void BotCheckerWindow::action(const gcn::ActionEvent &event)