summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-23 18:48:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-23 18:48:53 +0300
commit6ad3584c69d102a7592eaac1a3d7374cf610895f (patch)
treed7a5bb7d213d029d3d820179e93da46bb023008c /src/gui
parent2443f62e578283b20aaed1874fb356753774cf79 (diff)
downloadplus-6ad3584c69d102a7592eaac1a3d7374cf610895f.tar.gz
plus-6ad3584c69d102a7592eaac1a3d7374cf610895f.tar.bz2
plus-6ad3584c69d102a7592eaac1a3d7374cf610895f.tar.xz
plus-6ad3584c69d102a7592eaac1a3d7374cf610895f.zip
Add missing calls to postInit for windows and popups.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/createpartypopup.h1
-rw-r--r--src/gui/widgets/popuplist.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/popups/createpartypopup.h b/src/gui/popups/createpartypopup.h
index bd5899726..b7f596e36 100644
--- a/src/gui/popups/createpartypopup.h
+++ b/src/gui/popups/createpartypopup.h
@@ -55,6 +55,7 @@ class CreatePartyPopup final : public Popup,
void postInit() override final
{
+ Popup::postInit();
add(mBrowserBox);
setContentSize(mBrowserBox->getWidth() + 8,
mBrowserBox->getHeight() + 8);
diff --git a/src/gui/widgets/popuplist.cpp b/src/gui/widgets/popuplist.cpp
index c459fe351..d8c1d79dc 100644
--- a/src/gui/widgets/popuplist.cpp
+++ b/src/gui/widgets/popuplist.cpp
@@ -55,6 +55,7 @@ PopupList::PopupList(DropDown *const widget,
void PopupList::postInit()
{
+ Popup::postInit();
add(mScrollArea);
if (gui)