summaryrefslogtreecommitdiff
path: root/src/gui/botcheckerwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-26 00:01:56 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-26 00:01:56 +0300
commit803b6afd00b0e3574b40b866f21a0d3d01f6dc4d (patch)
tree8a55ef881f1eaac4d216b3f5d2c4605eb520070d /src/gui/botcheckerwindow.cpp
parent8478d540748edccf36dc9bda5f0c3de0aa7bf763 (diff)
downloadplus-803b6afd00b0e3574b40b866f21a0d3d01f6dc4d.tar.gz
plus-803b6afd00b0e3574b40b866f21a0d3d01f6dc4d.tar.bz2
plus-803b6afd00b0e3574b40b866f21a0d3d01f6dc4d.tar.xz
plus-803b6afd00b0e3574b40b866f21a0d3d01f6dc4d.zip
Improve string usage in other files.
Diffstat (limited to 'src/gui/botcheckerwindow.cpp')
-rw-r--r--src/gui/botcheckerwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/botcheckerwindow.cpp b/src/gui/botcheckerwindow.cpp
index 7e8b16960..458da93c9 100644
--- a/src/gui/botcheckerwindow.cpp
+++ b/src/gui/botcheckerwindow.cpp
@@ -143,7 +143,7 @@ public:
else
{
widget = new Label(this, toString(curTime
- - player->getTestTime()) + "?");
+ - player->getTestTime()).append("?"));
}
mWidgets.push_back(widget);
@@ -155,7 +155,7 @@ public:
else
{
widget = new Label(this, toString(curTime
- - player->getTestTime()) + "?");
+ - player->getTestTime()).append("?"));
}
mWidgets.push_back(widget);
@@ -167,7 +167,7 @@ public:
else
{
widget = new Label(this, toString(curTime
- - player->getTestTime()) + "?");
+ - player->getTestTime()).append("?"));
}
mWidgets.push_back(widget);
@@ -199,14 +199,14 @@ public:
if (talk > 2 * 60)
{
talkBot = true;
- str += toString((talk) / 60) + " ";
+ str.append(toString((talk) / 60)).append(" ");
}
// attacking but not moving more than 2 minutes
if (move > 2 * 60)
{
moveBot = true;
- str += toString((move) / 60);
+ str.append(toString((move) / 60));
}
// attacking but not other activity more than 2 minutes