diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-04 16:27:43 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-04 16:27:43 +0200 |
commit | 47aa9bcf5eb537456abc393699c8fec07a4d5153 (patch) | |
tree | 453309d61789d8b27879abcc98c013cc7affd576 /src/gui/outfitwindow.cpp | |
parent | c3669ceb38114c68a6de11de46b0d3fd3713db59 (diff) | |
download | manaverse-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.gz manaverse-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.bz2 manaverse-47aa9bcf5eb537456abc393699c8fec07a4d5153.tar.xz manaverse-47aa9bcf5eb537456abc393699c8fec07a4d5153.zip |
Fix code style.
Diffstat (limited to 'src/gui/outfitwindow.cpp')
-rw-r--r-- | src/gui/outfitwindow.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp index ea2b7980c..3550883ba 100644 --- a/src/gui/outfitwindow.cpp +++ b/src/gui/outfitwindow.cpp @@ -173,9 +173,14 @@ void OutfitWindow::save() serverConfig.deleteKey("Outfit" + toString(o)); if (mItemsUnequip[o]) + { serverConfig.deleteKey("OutfitUnequip" + toString(o)); + } else - serverConfig.setValue("OutfitUnequip" + toString(o), mItemsUnequip[o]); + { + serverConfig.setValue("OutfitUnequip" + toString(o), + mItemsUnequip[o]); + } outfitStr = ""; } serverConfig.setValue("OutfitAwayIndex", mAwayOutfit); |