From 803b6afd00b0e3574b40b866f21a0d3d01f6dc4d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Feb 2013 00:01:56 +0300 Subject: Improve string usage in other files. --- src/gui/botcheckerwindow.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/botcheckerwindow.cpp') 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 -- cgit v1.2.3-60-g2f50