[Patch] Fix drop to KTabWidget with zero tabs

Friedrich W. H. Kossebau kossebau at kde.org
Thu Dec 4 21:06:16 GMT 2008


Am Mittwoch, 3. Dezember 2008, um 20:30 Uhr, schrieb Friedrich W. H. Kossebau:
> Hi,
>
> currently if a KTabWidget contains no tabs the drop support of KTabWidget
> falls flat on the face. Especially sad because the full widget space could
> now be considered as the dropping zone.
>
> The drop fails because with 0 tabs no tabbar is shown, so
> isEmptyTabbarSpace() returns false.
>
> Okay to commit the attached patch?

No comments?

I consider this a rather simple fix, so braveheartedly commited the patch now 
as #892660.

Friedrich
-- 
Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta




More information about the kde-core-devel mailing list