KStatusBar and showing temp messages

Albert Astals Cid aacid at kde.org
Thu Sep 25 19:40:30 BST 2008


A Dijous 25 Setembre 2008, Aaron J. Seigo va escriure:
> On Wednesday 24 September 2008, you wrote:
> > Aaron you're the one that did that code. Do you remember any reason for
> > using addPermanentWidget instead of addWidget? Or it's simply a
> > copy&paste problem?
>
> no, it was absolutely intentional. that much i remember. what i don't
> remember is WHY.
>
> seven lashes for me for not putting a comment in the code =/
>
> i seem to recall a Qt4 issue relating to status bars that made not using
> addPermanentWidget break when it came to the layout of status bars in KDE
> apps.
>
> there's one way to find out if this is still an issue though: change the
> code and then test in a wide sampling of statubar using KDE apps (Kontact,
> Okular, various kde games, konqueror and dolphin ....)

/me can hear David saying UnitTesting

:D

Will play with it somewhen, will be happy if someone beats me.

Albert




More information about the kde-core-devel mailing list