Skip to content

Prevent ThemeManager from deleting externally owned themes#2

Open
rafarisson wants to merge 1 commit into
somcosoftware:mainfrom
rafarisson:fix/ThemeManager
Open

Prevent ThemeManager from deleting externally owned themes#2
rafarisson wants to merge 1 commit into
somcosoftware:mainfrom
rafarisson:fix/ThemeManager

Conversation

@rafarisson
Copy link
Copy Markdown

Removed qDeleteAll(m_availableThemes) because ThemeManager does not own the KeyboardTheme instances.
These objects are externally managed through QObject/QML ownership, and deleting them here could lead to double-free issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant