summaryrefslogtreecommitdiff
path: root/src/gui/botcheckerwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 01:21:22 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit312118f5a7a1a7537cfb20f61d9b408dfcf03e8c (patch)
tree5339e8d288dd5db148e1d55493ac2f86fdfa617a /src/gui/botcheckerwindow.cpp
parent230e3d909340a3fb501ab1e67ae95a86eb58e2aa (diff)
downloadmanaplus-312118f5a7a1a7537cfb20f61d9b408dfcf03e8c.tar.gz
manaplus-312118f5a7a1a7537cfb20f61d9b408dfcf03e8c.tar.bz2
manaplus-312118f5a7a1a7537cfb20f61d9b408dfcf03e8c.tar.xz
manaplus-312118f5a7a1a7537cfb20f61d9b408dfcf03e8c.zip
Add palette inheritance to guitable class.
Diffstat (limited to 'src/gui/botcheckerwindow.cpp')
-rw-r--r--src/gui/botcheckerwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/botcheckerwindow.cpp b/src/gui/botcheckerwindow.cpp
index 272a172b2..6430a9d37 100644
--- a/src/gui/botcheckerwindow.cpp
+++ b/src/gui/botcheckerwindow.cpp
@@ -268,11 +268,11 @@ BotCheckerWindow::BotCheckerWindow():
Window(_("Bot Checker"), false, nullptr, "botchecker.xml"),
gcn::ActionListener(),
mTableModel(new UsersTableModel()),
- mTable(new GuiTable(mTableModel)),
+ mTable(new GuiTable(this, mTableModel)),
playersScrollArea(new ScrollArea(mTable, true,
"bochecker_background.xml")),
mPlayerTableTitleModel(new StaticTableModel(1, COLUMNS_NR)),
- mPlayerTitleTable(new GuiTable(mPlayerTableTitleModel)),
+ mPlayerTitleTable(new GuiTable(this, mPlayerTableTitleModel)),
mIncButton(new Button(this, _("Reset"), "reset", this)),
mLastUpdateTime(0),
mNeedUpdate(false),