diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-13 17:52:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-13 17:52:35 +0300 |
commit | 12e311bd5261078e02bffe63e125f89ae1a57209 (patch) | |
tree | 9a71f8e4ca78ea6f5eb09ccdb3bd6cd95830c884 /src/gui/botcheckerwindow.cpp | |
parent | 258f968327f6e790e11e809070c5ea5dc21a299c (diff) | |
download | manaplus-12e311bd5261078e02bffe63e125f89ae1a57209.tar.gz manaplus-12e311bd5261078e02bffe63e125f89ae1a57209.tar.bz2 manaplus-12e311bd5261078e02bffe63e125f89ae1a57209.tar.xz manaplus-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.cpp | 4 |
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) |