summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-11 02:15:50 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-11 02:15:50 +0300
commit8fa20d9e2aa173d4ed9632da7e707c69ce2841aa (patch)
tree009bae2a2cc8f9ca4f30401446424739a2ddbfc6 /src/gui/inventorywindow.cpp
parent793ef9a791108d4940fca7f4158dbd4cacee96f2 (diff)
downloadplus-8fa20d9e2aa173d4ed9632da7e707c69ce2841aa.tar.gz
plus-8fa20d9e2aa173d4ed9632da7e707c69ce2841aa.tar.bz2
plus-8fa20d9e2aa173d4ed9632da7e707c69ce2841aa.tar.xz
plus-8fa20d9e2aa173d4ed9632da7e707c69ce2841aa.zip
Remove useless brackets.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 3bc8c4222..d875644f6 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -107,7 +107,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory):
mWeightBar(nullptr),
mSlotsBar(new ProgressBar(this, 0.0f, 100, 0, Theme::PROG_INVY_SLOTS)),
mFilter(nullptr),
- mSortModel(new SortListModel()),
+ mSortModel(new SortListModel),
mSortDropDown(new DropDown(this, mSortModel, this, "sort")),
mNameFilter(new TextField(this, "", true, this, "namefilter", true)),
mSortDropDownCell(nullptr),