Skip to content
  • Amish Naidu's avatar
    Sublime: Fix crash when changing areas · 7169b3ac
    Amish Naidu authored
    Summary:
    Fixes regression introduced in D15450 by making IdealButtonBarLayout derive from
    QBoxLayout instead of QLayout and thus delete most operations to Qt instead
    of manually handling them, removing the bugged implementation.
    
    Added minimumSizeHint in IdealToolButton to prevent it from being resized
    to zero.
    
    IdealButtonBarLayout is now a child layout for vertical bars as well,
    the top level layout is stretched and allows for context menu.
    
    BUG: 399025
    
    Reviewers: #kdevelop, kossebau, rjvbb
    
    Reviewed By: #kdevelop, kossebau, rjvbb
    
    Subscribers: kossebau, rjvbb, kdevelop-devel
    
    Tags: #kdevelop
    
    Differential Revision: https://phabricator.kde.org/D15625
    7169b3ac