summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-24 01:21:54 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-24 01:21:54 +0300
commitd8abec8cfce526f9b4779b674b172514100d01a2 (patch)
tree305c62d9503a1a508044883bcd336ea07d3c17f8 /src/gui/widgets/tabs
parentb717426195ce73de9a70412a1e40fb01898264ae (diff)
downloadManaVerse-d8abec8cfce526f9b4779b674b172514100d01a2.tar.gz
ManaVerse-d8abec8cfce526f9b4779b674b172514100d01a2.tar.bz2
ManaVerse-d8abec8cfce526f9b4779b674b172514100d01a2.tar.xz
ManaVerse-d8abec8cfce526f9b4779b674b172514100d01a2.zip
Remove default parameters from scrollarea.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/chat/chattab.cpp3
-rw-r--r--src/gui/widgets/tabs/setup_relations.cpp3
-rw-r--r--src/gui/widgets/tabs/setuptabscroll.cpp2
3 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.cpp b/src/gui/widgets/tabs/chat/chattab.cpp
index 3fc6fb252..64cae0ed3 100644
--- a/src/gui/widgets/tabs/chat/chattab.cpp
+++ b/src/gui/widgets/tabs/chat/chattab.cpp
@@ -71,7 +71,8 @@ ChatTab::ChatTab(const Widget2 *const widget,
Tab(widget),
mTextOutput(new BrowserBox(this, Opaque_true,
"browserbox.xml")),
- mScrollArea(new ScrollArea(this, mTextOutput, Opaque_false)),
+ mScrollArea(new ScrollArea(this,
+ mTextOutput, Opaque_false, std::string())),
mChannelName(channel),
mLogName(logName),
mType(type),
diff --git a/src/gui/widgets/tabs/setup_relations.cpp b/src/gui/widgets/tabs/setup_relations.cpp
index 4cc81a300..095277a75 100644
--- a/src/gui/widgets/tabs/setup_relations.cpp
+++ b/src/gui/widgets/tabs/setup_relations.cpp
@@ -67,7 +67,8 @@ Setup_Relations::Setup_Relations(const Widget2 *const widget) :
mPlayerTableModel(new PlayerTableModel(this)),
mPlayerTable(new GuiTable(this, mPlayerTableModel)),
mPlayerTitleTable(new GuiTable(this, mPlayerTableTitleModel)),
- mPlayerScrollArea(new ScrollArea(this, mPlayerTable)),
+ mPlayerScrollArea(new ScrollArea(this,
+ mPlayerTable, Opaque_true, std::string())),
// TRANSLATORS: relation dialog button
mDefaultTrading(new CheckBox(this, _("Allow trading"),
(playerRelations.getDefault() & PlayerRelation::TRADE) != 0u)),
diff --git a/src/gui/widgets/tabs/setuptabscroll.cpp b/src/gui/widgets/tabs/setuptabscroll.cpp
index 0cb623687..6f44b17b8 100644
--- a/src/gui/widgets/tabs/setuptabscroll.cpp
+++ b/src/gui/widgets/tabs/setuptabscroll.cpp
@@ -31,7 +31,7 @@
SetupTabScroll::SetupTabScroll(const Widget2 *const widget) :
SetupTab(widget),
mContainer(new VertContainer(this, 25, false, 8)),
- mScroll(new ScrollArea(this, mContainer, Opaque_false)),
+ mScroll(new ScrollArea(this, mContainer, Opaque_false, std::string())),
mItems(),
mAllItems(),
mPreferredFirstItemSize(200)