Prevent creation of text codecs when the application is shutting down
#143
Merged
MicheleC
merged 1 commits from fix/issue/142
into master
11 months ago
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'fix/issue/142'
Deleting a branch is permanent. It CANNOT be undone. Continue?
The fix is relatively simple. When the application shuts down, it will destroy all codecs by calling
TQTextCodec::deleteAllCodecs()
. The code will remember that this happened and will not setup the codecs again if this is requested after the initial deletion. The rest of the changes are mostly renames/cosmetics + some extra locks every time the list of codecs is modified.This resolves issue #142.
Hm... I don't really like that solution... I thought I were gonna make tqWarning() work rather than just print another message...
PS: And we definitely shouldn't use
printf()
for error reporting...I'd like to propose the alternative to this one: #144
157bc2b4ca
tofaabef99c0
11 months agoSee this comment on PR #144.
PR updated with additional comments for
printf
and explicit setting oflocaleMapper = 0
(see discussion on PR #144).LGTM
faabef99c0
to7563c4825f
11 months ago7563c4825f
into master 11 months agoReviewers
7563c4825f
.