qapplication_win.cpp

Peter Kuemmel kuemmel at coffeelogic.de
Sun Aug 29 13:00:57 CEST 2004


It's a bug.
In the 3.1 port it makes no problem but in my version of 3.3.3 I have to 
fix it because mwTitle is not initialized and produces very ugly window 
titles.

The x11 code reads (3.1 and 3.3):

if ( mwTitle )
	    XStoreName( ... (char*)mwTitle );



So the win code should be:

if ( mwTitle )
	main_widget->setCaption(mwTitle);


Regards,
Peter


David Tio wrote:
> On 29 August 2004 am 11:30, David Tio wrote:
> Anyway this is for qt3/w32 port 
> 
>>if( main_widget->caption()->isEmpty() )
>> main_widget->setCaption( mwTitle );
> 
> correction:
> it should be 
> 
> if( main_widget->caption().isEmpty() )
>  main_widget->setCaption( mwTitle );
> 
> btw, is there any IRC channel where you guys hang out?
> 
> Warmest Regards,
> 
> David Tio aka DeuX
> _______________________________________________
> kde-cygwin mailing list
> kde-cygwin at kde.org
> https://mail.kde.org/mailman/listinfo/kde-cygwin
> 



More information about the kde-cygwin mailing list