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/outfitwindow.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gui/outfitwindow.cpp') diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp index cd7e23038..c56df4ef7 100644 --- a/src/gui/outfitwindow.cpp +++ b/src/gui/outfitwindow.cpp @@ -190,12 +190,13 @@ void OutfitWindow::save() const int res = mItems[o][i] ? mItems[o][i] : -1; if (res != -1) good = true; - outfitStr += toString(res); + outfitStr.append(toString(res)); if (i < OUTFIT_ITEM_COUNT - 1) - outfitStr += " "; - outfitColorsStr += toString(static_cast(mItemColors[o][i])); + outfitStr.append(" "); + outfitColorsStr.append(toString(static_cast( + mItemColors[o][i]))); if (i < OUTFIT_ITEM_COUNT - 1) - outfitColorsStr += " "; + outfitColorsStr.append(" "); } if (good) { -- cgit v1.2.3-70-g09d2