[Qt] Qt fix for try..except in CopyUnicodeToPWideString()

zeljko zeljko at holobit.net
Wed Jun 27 10:07:34 CEST 2007


On Tuesday 26 June 2007 20:24, Felipe Monteiro de Carvalho wrote:
> On 6/26/07, zeljko <zeljko at holobit.net> wrote:
> > Any feedback is welcome ;)
>
> Great work =)
>
> I'll apply that soon

affected hooks (widgets):

qtextbrowser.hk
qspinbox.hk
qstatusbar.hk
qlineedit.hk
qlistwidget.hk
qlabel.hk
qcombobox.hk

search for var declaration
PWideString someting;
replace with
PWideString something = 0;

Those uninitialized pointers produced a real mess in above widgets.

Tested with all components, didn't found any problem at all (using SetString() 
inside CopyUnicodeToPWideString() , so it's now platform independent function 
(no ifdefs).


end of transmission ;)

zeljko





More information about the Qt mailing list