mirror of
https://github.com/edubart/otclient.git
synced 2025-12-23 00:27:12 +01:00
some cleanup in modules, fixes in tooltip, uiwidget warnings, disable map saving for a while
This commit is contained in:
@@ -40,9 +40,12 @@ void UIManager::init()
|
||||
|
||||
void UIManager::terminate()
|
||||
{
|
||||
// destroy root widget and its children'
|
||||
// destroy root widget and its children
|
||||
m_rootWidget->destroy();
|
||||
m_rootWidget.reset();
|
||||
m_mouseReceiver = nullptr;
|
||||
m_keyboardReceiver = nullptr;
|
||||
m_rootWidget = nullptr;
|
||||
m_draggingWidget = nullptr;
|
||||
}
|
||||
|
||||
void UIManager::render()
|
||||
|
||||
Reference in New Issue
Block a user