summaryrefslogtreecommitdiff
path: root/src/gui/widgets/dropdown.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 19:53:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commit8e4604158dfa710aa505fb97f8a6ac9a16e37997 (patch)
treedd2f78cb5a4086162aae385c29bd33b5a0a0ae1b /src/gui/widgets/dropdown.cpp
parent639084d63d6b135b880c71e50b9a66fbe8fc31d7 (diff)
downloadmanaplus-8e4604158dfa710aa505fb97f8a6ac9a16e37997.tar.gz
manaplus-8e4604158dfa710aa505fb97f8a6ac9a16e37997.tar.bz2
manaplus-8e4604158dfa710aa505fb97f8a6ac9a16e37997.tar.xz
manaplus-8e4604158dfa710aa505fb97f8a6ac9a16e37997.zip
remove virtual method calls from popuplist constructor and destructor.
Diffstat (limited to 'src/gui/widgets/dropdown.cpp')
-rw-r--r--src/gui/widgets/dropdown.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/dropdown.cpp b/src/gui/widgets/dropdown.cpp
index 99438a2ce..7c41bbacc 100644
--- a/src/gui/widgets/dropdown.cpp
+++ b/src/gui/widgets/dropdown.cpp
@@ -76,6 +76,7 @@ DropDown::DropDown(const Widget2 *const widget,
mPushed(false),
mIsDragged(false)
{
+ mPopup->postInit();
mFrameSize = 2;
mForegroundColor2 = getThemeColor(Theme::DROPDOWN_OUTLINE);