summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-25 07:17:27 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-25 07:17:27 +0300
commit526b09b7670aad3e167ce2dac4e4dd6063ab73e0 (patch)
tree77fc4703333a430e1cd790f4b87fee6a536944eb /src/gui/widgets
parentc0a4146dc70b252c84746c4ccfd9f1ca9af8421d (diff)
downloadmanaplus-526b09b7670aad3e167ce2dac4e4dd6063ab73e0.tar.gz
manaplus-526b09b7670aad3e167ce2dac4e4dd6063ab73e0.tar.bz2
manaplus-526b09b7670aad3e167ce2dac4e4dd6063ab73e0.tar.xz
manaplus-526b09b7670aad3e167ce2dac4e4dd6063ab73e0.zip
Remove default parameter from guitable.s20171226
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/guitable.h2
-rw-r--r--src/gui/widgets/tabs/setup_relations.cpp4
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