From kde-core-devel Sun Sep 09 12:59:21 2007 From: "Richard Moore" Date: Sun, 09 Sep 2007 12:59:21 +0000 To: kde-core-devel Subject: Re: KTabBar -- double clicking on empty space Message-Id: <5491a5150709090559l5f55e491yb34957eb5ede72d1 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=118934281613735 On 9/9/07, Thomas Zander 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.