https://bugs.kde.org/show_bug.cgi?id=411387

--- Comment #7 from Nikolay Zlatev <n...@astrapaging.com> ---
(In reply to Kurt Hindenburg from comment #6)
> the null check looks reasonable even though I can't it to crash here with
> any theme.  The "+1" is worrisome as it appears to be theme specific.

const auto handleWidth = parentSplitter->handleWidth() <= 1 ? 4 :...

"? 4" is also worrisome :)

In fact this "4" constant prevent konsole to crash under "Breeze" theme.
When handleWidth = parentSplitter->handleWidth(); is used, konsole crash under
all themes.

I have tested with "const auto handleWidth = parentSplitter->handleWidth() +
3;" and everything seems to work fine.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to