diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 14:38:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:20 +0300 |
commit | d6f3b6a128df68705135b61a404fb4b878cc5e52 (patch) | |
tree | 6c06096ac095f017b18b3929fbf9fe9a8a32ace2 /src | |
parent | aa507cb90f6fdfff35fb9d0f656c9568933b2898 (diff) | |
download | mv-d6f3b6a128df68705135b61a404fb4b878cc5e52.tar.gz mv-d6f3b6a128df68705135b61a404fb4b878cc5e52.tar.bz2 mv-d6f3b6a128df68705135b61a404fb4b878cc5e52.tar.xz mv-d6f3b6a128df68705135b61a404fb4b878cc5e52.zip |
remove default parameter from guitable constructor.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/guitable.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_relations.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h index c8f82d3cc..ffadbb0cd 100644 --- a/src/gui/widgets/guitable.h +++ b/src/gui/widgets/guitable.h @@ -56,7 +56,7 @@ class GuiTable final : public gcn::Widget, public: GuiTable(const Widget2 *const widget, - TableModel *const initial_model = nullptr, + TableModel *const initial_model, const bool opacity = true); A_DELETE_COPY(GuiTable) diff --git a/src/gui/widgets/tabs/setup_relations.cpp b/src/gui/widgets/tabs/setup_relations.cpp index 4e1bdb376..01fb873d4 100644 --- a/src/gui/widgets/tabs/setup_relations.cpp +++ b/src/gui/widgets/tabs/setup_relations.cpp @@ -247,7 +247,7 @@ Setup_Relations::Setup_Relations(const Widget2 *const widget) : PlayerRelationsListener(), mPlayerTableTitleModel(new StaticTableModel(1, COLUMNS_NR)), mPlayerTableModel(new PlayerTableModel(this)), - mPlayerTable(new GuiTable(mPlayerTableModel)), + mPlayerTable(new GuiTable(this, mPlayerTableModel)), mPlayerTitleTable(new GuiTable(this, mPlayerTableTitleModel)), mPlayerScrollArea(new ScrollArea(mPlayerTable)), // TRANSLATORS: relation dialog button |