tab management in kdev master

Aleix Pol aleixpol at kde.org
Tue Jul 19 11:28:04 UTC 2011


On Tue, Jul 19, 2011 at 6:57 AM, Steffen Ohrendorf
<mr.syron at googlemail.com>wrote:

> I had a look at it, commit 3ca6c8de3bcfd61d23f279e7364a3d0ff9a32c41 seems
> to
> be the problem, because if(!m_indexSplitters.contains(index)) has been
> replaced by if(!m_indexSplitters[index]), but the documentation of QMap
> states
> cleary that operator[] returns a default constructed object when there's no
> key found.
> (only my 2 cents...)
> -- Syron
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>

Well, the default constructor will return false (null QPointer), no?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110719/321effbc/attachment.html>


More information about the KDevelop-devel mailing list