summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-06 21:06:38 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-06 21:06:38 +0200
commit7ee2220427d8735c777f504517c24c49afda699f (patch)
treef042e5c101b0689f92490e7bbad34ac6d8f876d9 /src/gui/itemcontainer.cpp
parente96cf57be9754001fe8502725e4c79dd7ae7b5f5 (diff)
downloadmana-client-7ee2220427d8735c777f504517c24c49afda699f.tar.gz
mana-client-7ee2220427d8735c777f504517c24c49afda699f.tar.bz2
mana-client-7ee2220427d8735c777f504517c24c49afda699f.tar.xz
mana-client-7ee2220427d8735c777f504517c24c49afda699f.zip
Fixed compile warning about initialization order
Also made CMakeLists.txt consistent with Makefile.am regarding the BuySellDialog.
Diffstat (limited to 'src/gui/itemcontainer.cpp')
-rw-r--r--src/gui/itemcontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp
index 7420cc18..40f4ae28 100644
--- a/src/gui/itemcontainer.cpp
+++ b/src/gui/itemcontainer.cpp
@@ -58,9 +58,9 @@ ItemContainer::ItemContainer(Inventory *inventory,
mSelectedItem(NULL),
mHighlightedItem(NULL),
mSelectionStatus(SEL_NONE),
+ mForceQuantity(forceQuantity),
mSwapItems(false),
- mDescItems(false),
- mForceQuantity(forceQuantity)
+ mDescItems(false)
{
mItemPopup = new ItemPopup;
setFocusable(true);