diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 01:21:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | 312118f5a7a1a7537cfb20f61d9b408dfcf03e8c (patch) | |
tree | 5339e8d288dd5db148e1d55493ac2f86fdfa617a /src/gui/widgets/guitable.cpp | |
parent | 230e3d909340a3fb501ab1e67ae95a86eb58e2aa (diff) | |
download | plus-312118f5a7a1a7537cfb20f61d9b408dfcf03e8c.tar.gz plus-312118f5a7a1a7537cfb20f61d9b408dfcf03e8c.tar.bz2 plus-312118f5a7a1a7537cfb20f61d9b408dfcf03e8c.tar.xz plus-312118f5a7a1a7537cfb20f61d9b408dfcf03e8c.zip |
Add palette inheritance to guitable class.
Diffstat (limited to 'src/gui/widgets/guitable.cpp')
-rw-r--r-- | src/gui/widgets/guitable.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp index 9f0dc47e3..d661e23df 100644 --- a/src/gui/widgets/guitable.cpp +++ b/src/gui/widgets/guitable.cpp @@ -92,9 +92,10 @@ void GuiTableActionListener::action(const gcn::ActionEvent } -GuiTable::GuiTable(TableModel *const initial_model, const bool opacity) : +GuiTable::GuiTable(const Widget2 *const widget, + TableModel *const initial_model, const bool opacity) : gcn::Widget(), - Widget2(), + Widget2(widget), gcn::MouseListener(), gcn::KeyListener(), mLinewiseMode(false), |