diff options
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) { |