From 526b09b7670aad3e167ce2dac4e4dd6063ab73e0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Dec 2017 07:17:27 +0300 Subject: Remove default parameter from guitable. --- src/gui/widgets/guitable.h | 2 +- src/gui/widgets/tabs/setup_relations.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h index 30eb73523..4e7d8e50b 100644 --- a/src/gui/widgets/guitable.h +++ b/src/gui/widgets/guitable.h @@ -56,7 +56,7 @@ class GuiTable final : public Widget, public: GuiTable(const Widget2 *const widget, TableModel *const initial_model, - const Opaque opacity = Opaque_true); + const Opaque opacity); A_DELETE_COPY(GuiTable) diff --git a/src/gui/widgets/tabs/setup_relations.cpp b/src/gui/widgets/tabs/setup_relations.cpp index fa182bccc..a5c556812 100644 --- a/src/gui/widgets/tabs/setup_relations.cpp +++ b/src/gui/widgets/tabs/setup_relations.cpp @@ -65,8 +65,8 @@ Setup_Relations::Setup_Relations(const Widget2 *const widget) : PlayerRelationsListener(), mPlayerTableTitleModel(new StaticTableModel(1, COLUMNS_NR)), mPlayerTableModel(new PlayerTableModel(this)), - mPlayerTable(new GuiTable(this, mPlayerTableModel)), - mPlayerTitleTable(new GuiTable(this, mPlayerTableTitleModel)), + mPlayerTable(new GuiTable(this, mPlayerTableModel, Opaque_true)), + mPlayerTitleTable(new GuiTable(this, mPlayerTableTitleModel, Opaque_true)), mPlayerScrollArea(new ScrollArea(this, mPlayerTable, Opaque_true, std::string())), // TRANSLATORS: relation dialog button -- cgit v1.2.3-60-g2f50