From 2df5b93608c98297e75b2bec8cd494e6bba5a23a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Oct 2013 11:28:03 +0300 Subject: move virtual member calls from spellpopup constuctor into postInit. --- src/gui/popups/spellpopup.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/popups/spellpopup.cpp') diff --git a/src/gui/popups/spellpopup.cpp b/src/gui/popups/spellpopup.cpp index 5db8ceafb..b522f0d0a 100644 --- a/src/gui/popups/spellpopup.cpp +++ b/src/gui/popups/spellpopup.cpp @@ -39,7 +39,10 @@ SpellPopup::SpellPopup(): getThemeColor(Theme::POPUP_OUTLINE)); mItemComment->setForegroundColorAll(getThemeColor(Theme::POPUP), getThemeColor(Theme::POPUP_OUTLINE)); +} +void SpellPopup::postInit() +{ add(mItemName); add(mItemComment); -- cgit v1.2.3-70-g09d2