diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-17 23:53:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:18 +0300 |
commit | 649348f19cdb3d65f825a2a3270b185fc9d83c75 (patch) | |
tree | 3a31f64178d266383899c67782843736578e580e /src/gui/widgets/itemlinkhandler.cpp | |
parent | 0c6d457fe227ba9fd0a7c4c51cc2eb5995ca2c19 (diff) | |
download | mv-649348f19cdb3d65f825a2a3270b185fc9d83c75.tar.gz mv-649348f19cdb3d65f825a2a3270b185fc9d83c75.tar.bz2 mv-649348f19cdb3d65f825a2a3270b185fc9d83c75.tar.xz mv-649348f19cdb3d65f825a2a3270b185fc9d83c75.zip |
move virtual member calls from confirmdialog constuctor into postInit.
Diffstat (limited to 'src/gui/widgets/itemlinkhandler.cpp')
-rw-r--r-- | src/gui/widgets/itemlinkhandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/itemlinkhandler.cpp b/src/gui/widgets/itemlinkhandler.cpp index 85aa4e090..18eccecb1 100644 --- a/src/gui/widgets/itemlinkhandler.cpp +++ b/src/gui/widgets/itemlinkhandler.cpp @@ -90,6 +90,7 @@ void ItemLinkHandler::handleLink(const std::string &link, ConfirmDialog *const confirmDlg = new ConfirmDialog( // TRANSLATORS: dialog message _("Open url"), url, SOUND_REQUEST, false, true); + confirmDlg->postInit(); confirmDlg->addActionListener(&listener); } else if (button == gcn::MouseInput::RIGHT) |