[Patch] Fix drop to KTabWidget with zero tabs

Friedrich W. H. Kossebau kossebau at kde.org
Wed Dec 3 19:30:05 GMT 2008


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?

Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FixDropWith0Tabs.patch
Type: text/x-diff
Size: 462 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081203/056a9c95/attachment.patch>

More information about the kde-core-devel mailing list