Skip to content

KateFileTree: tweak close button handling

Ahmad Samir requested to merge work/ahmad/button-filetree into master

Hide/show the column if the close button is hidden/shown, instead of setting size to 1.

Use QHeaderView::ResizeToContents, which is like Fixed, but without having to hardcode the icon size.

Remove check for header() pointer, QTreeView has a header by default, and other parts of the code don't check for header().

Merge request reports