diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-26 00:01:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-26 00:01:56 +0300 |
commit | 803b6afd00b0e3574b40b866f21a0d3d01f6dc4d (patch) | |
tree | 8a55ef881f1eaac4d216b3f5d2c4605eb520070d /src/gui/outfitwindow.cpp | |
parent | 8478d540748edccf36dc9bda5f0c3de0aa7bf763 (diff) | |
download | ManaVerse-803b6afd00b0e3574b40b866f21a0d3d01f6dc4d.tar.gz ManaVerse-803b6afd00b0e3574b40b866f21a0d3d01f6dc4d.tar.bz2 ManaVerse-803b6afd00b0e3574b40b866f21a0d3d01f6dc4d.tar.xz ManaVerse-803b6afd00b0e3574b40b866f21a0d3d01f6dc4d.zip |
Improve string usage in other files.
Diffstat (limited to 'src/gui/outfitwindow.cpp')
-rw-r--r-- | src/gui/outfitwindow.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
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<int>(mItemColors[o][i])); + outfitStr.append(" "); + outfitColorsStr.append(toString(static_cast<int>( + mItemColors[o][i]))); if (i < OUTFIT_ITEM_COUNT - 1) - outfitColorsStr += " "; + outfitColorsStr.append(" "); } if (good) { |