summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-18 00:45:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-18 00:45:23 +0300
commit14a0a04b2bb3928f7429fd748dd40e1843fca571 (patch)
tree28f772d80afd66838b0123efeac005f445a39bce /src/game.cpp
parent1d71d02a40dc1f4c50572bf0681bbc2907a3c361 (diff)
downloadmanaplus-14a0a04b2bb3928f7429fd748dd40e1843fca571.tar.gz
manaplus-14a0a04b2bb3928f7429fd748dd40e1843fca571.tar.bz2
manaplus-14a0a04b2bb3928f7429fd748dd40e1843fca571.tar.xz
manaplus-14a0a04b2bb3928f7429fd748dd40e1843fca571.zip
Remove default constructor from Widget2.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 26807b8b6..e0957b57d 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -236,7 +236,7 @@ static void createGuiWindows()
for (unsigned f = 0; f < SHORTCUT_TABS; f ++)
{
itemShortcutWindow->addTab(toString(f + 1),
- new ItemShortcutContainer(f));
+ new ItemShortcutContainer(nullptr, f));
}
if (config.getBoolValue("showDidYouKnow"))
{
@@ -245,20 +245,23 @@ static void createGuiWindows()
}
emoteShortcutWindow = new ShortcutWindow("EmoteShortcut",
- new EmoteShortcutContainer, "emotes.xml", 130, 480);
+ new EmoteShortcutContainer(nullptr),
+ "emotes.xml",
+ 130, 480);
outfitWindow = new OutfitWindow();
#ifdef MANASERV_SUPPORT
specialsWindow = new SpecialsWindow();
#endif
dropShortcutWindow = new ShortcutWindow("DropShortcut",
- new DropShortcutContainer, "drops.xml");
+ new DropShortcutContainer(nullptr),
+ "drops.xml");
spellShortcutWindow = new ShortcutWindow("SpellShortcut", "spells.xml",
265, 328);
for (unsigned f = 0; f < SPELL_SHORTCUT_TABS; f ++)
{
spellShortcutWindow->addTab(toString(f + 1),
- new SpellShortcutContainer(f));
+ new SpellShortcutContainer(nullptr, f));
}
botCheckerWindow = new BotCheckerWindow;