Details
-
Sub-task
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
Description
Plugins don't store the fontdatabase in a QScopedPointer and do not manually manage the memory. I can think of:
a.) Make QPlatformIntegration and QPlatformDatabase a QObject and provide parent/child relationship
b.) Make all plugins use QScopedPointer
c.) Put a QScopedPointer into the base class and have a virtual doCreateFont... creates and assigns to the common pointer