summaryrefslogtreecommitdiff
path: root/src/unittests/gui/windowmanager.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-18 00:51:34 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-18 00:52:29 +0300
commitb3cf7bd2daeb46a613611e8a5d3f47736b5780e9 (patch)
treec20e69c4ad52540572f5b597d292e853fb78e307 /src/unittests/gui/windowmanager.cc
parentb73e51c8993c6e2eef7a28a79ea79b7a6d61783d (diff)
downloadmanaverse-b3cf7bd2daeb46a613611e8a5d3f47736b5780e9.tar.gz
manaverse-b3cf7bd2daeb46a613611e8a5d3f47736b5780e9.tar.bz2
manaverse-b3cf7bd2daeb46a613611e8a5d3f47736b5780e9.tar.xz
manaverse-b3cf7bd2daeb46a613611e8a5d3f47736b5780e9.zip
Remove default parameter from inventory.
Diffstat (limited to 'src/unittests/gui/windowmanager.cc')
-rw-r--r--src/unittests/gui/windowmanager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittests/gui/windowmanager.cc b/src/unittests/gui/windowmanager.cc
index b7f1eee43..92ea50920 100644
--- a/src/unittests/gui/windowmanager.cc
+++ b/src/unittests/gui/windowmanager.cc
@@ -452,7 +452,7 @@ TEST_CASE("Windows tests", "windowmanager")
}
SECTION("InventoryWindow")
{
- Inventory *inventory = new Inventory(InventoryType::Inventory);
+ Inventory *inventory = new Inventory(InventoryType::Inventory, -1);
InventoryWindow *dialog = CREATEWIDGETR(InventoryWindow,
inventory);
gui->draw();