[Interest] invalidated copies of QString in QCommonStyle::cachedOption
Mojmír Svoboda
mojmir.svoboda at bistudio.com
Tue Jan 19 09:46:48 CET 2016
On 18.1.2016 14:48, Igor Mironchik wrote:
> What if to change QStringLiteral with QLatin1String usage?
Tried it yesterday, and it works without problems as the
reference count in QStringData ensures lifetime of the QString.
I also tried some very dirty way to release the cachedOption
before closing the widget and it worked on a sample. Worth
a try, but not a solution :)
Nice day,
Mojmir
More information about the Interest
mailing list