KTabBar -- double clicking on empty space

Richard Moore richmoore44 at gmail.com
Sun Sep 9 13:59:21 BST 2007


On 9/9/07, Thomas Zander <zander at kde.org> wrote:
> The disadvantage of this is that all code listening to that signal need to
> special-case the magic number "-1".
> Which is sub-optimal because it adds complexity to the 'API' where you
> don't expect it.

Yes, and any existing code that is using that index could be broken in
hard to find ways. I'd say having a new signal is a much cleaner
design.

Cheers

Rich.




More information about the kde-core-devel mailing list