diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-25 07:17:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-25 07:17:27 +0300 |
commit | 526b09b7670aad3e167ce2dac4e4dd6063ab73e0 (patch) | |
tree | 77fc4703333a430e1cd790f4b87fee6a536944eb | |
parent | c0a4146dc70b252c84746c4ccfd9f1ca9af8421d (diff) | |
download | plus-s20171226.tar.gz plus-s20171226.tar.bz2 plus-s20171226.tar.xz plus-s20171226.zip |
Remove default parameter from guitable.s20171226
-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 |