qapplication_win.cpp

David Tio deux at arklinux.org
Sun Aug 29 13:55:21 CEST 2004


Hi Peter,

But if someone has already set the caption, we wouldn't want to override the 
caption rite? Hence I think we should always check for the caption first.

The code that you suggest make sense as well, but the code that I check out 
from the cvs doesn't do any check at all. It will just set the caption to 
mwTitle.

And I checked out the code from here:
cvs -z3 -d :pserver:anonymous at cvs.sourceforge.net:/cvsroot/kde-cygwin co -r 
QT_WIN32_3_BRANCH qt-3

Is there a newer version available somewhere? how can I help on the 
development?

Warmest Regards,

David Tio aka DeuX

On 29 August 2004 pm 19:00, Peter Kuemmel wrote:
> 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
>
> _______________________________________________
> 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