mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 22:45:34 +00:00
Delegate cleanup
This commit is contained in:
parent
bdcc3a4036
commit
c093e284d9
2 changed files with 7 additions and 0 deletions
|
@ -182,6 +182,10 @@ namespace MWGui
|
|||
|
||||
HUD::~HUD()
|
||||
{
|
||||
mMainWidget->eventMouseLostFocus.clear();
|
||||
mMainWidget->eventMouseMove.clear();
|
||||
mMainWidget->eventMouseButtonClick.clear();
|
||||
|
||||
delete mSpellIcons;
|
||||
}
|
||||
|
||||
|
|
|
@ -352,8 +352,11 @@ namespace MWGui
|
|||
|
||||
WindowManager::~WindowManager()
|
||||
{
|
||||
MyGUI::LanguageManager::getInstance().eventRequestTag.clear();
|
||||
MyGUI::PointerManager::getInstance().eventChangeMousePointer.clear();
|
||||
MyGUI::InputManager::getInstance().eventChangeKeyFocus.clear();
|
||||
MyGUI::ClipboardManager::getInstance().eventClipboardChanged.clear();
|
||||
MyGUI::ClipboardManager::getInstance().eventClipboardRequested.clear();
|
||||
|
||||
delete mConsole;
|
||||
delete mMessageBoxManager;
|
||||
|
|
Loading…
Reference in a new issue