roxton
9th June 2011, 11:07
Hello!
I have some problem when calling QFontDatabase::removeAllApplicationFonts() from the closeEvent of the main window or from the main window's destructor. The program just crashed. I've tried also QFontDatabase::removeApplicationFont (id) with the same unpleasant result.
Is there any way to deal with that?
Is necessary to call to call removeAllApplicationFonts(), or my custom-loaded fonts will be removed automatically on application exit and there is no need to remove them manually?
I have some problem when calling QFontDatabase::removeAllApplicationFonts() from the closeEvent of the main window or from the main window's destructor. The program just crashed. I've tried also QFontDatabase::removeApplicationFont (id) with the same unpleasant result.
Is there any way to deal with that?
Is necessary to call to call removeAllApplicationFonts(), or my custom-loaded fonts will be removed automatically on application exit and there is no need to remove them manually?