diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/guitable.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_relations.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
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 |