diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-24 01:21:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-24 01:21:54 +0300 |
commit | d8abec8cfce526f9b4779b674b172514100d01a2 (patch) | |
tree | 305c62d9503a1a508044883bcd336ea07d3c17f8 /src/gui/widgets/tabs | |
parent | b717426195ce73de9a70412a1e40fb01898264ae (diff) | |
download | mv-d8abec8cfce526f9b4779b674b172514100d01a2.tar.gz mv-d8abec8cfce526f9b4779b674b172514100d01a2.tar.bz2 mv-d8abec8cfce526f9b4779b674b172514100d01a2.tar.xz mv-d8abec8cfce526f9b4779b674b172514100d01a2.zip |
Remove default parameters from scrollarea.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/chat/chattab.cpp | 3 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_relations.cpp | 3 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setuptabscroll.cpp | 2 |
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) |