Sublime: Fix crash when changing areas

Authored by amhndu on Sep 26 2018, 8:02 AM.

Description

Sublime: Fix crash when changing areas

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

Details

Committed
amhnduSep 27 2018, 5:12 PM
Reviewer
KDevelop
Differential Revision
D15625: Sublime: Fix crash when changing areas
Parents
R32:167b4a1c34de: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown