Fix hiding of columns for recent Qt versions

Authored by weidendo on Sep 9 2018, 3:36 PM.

Description

Fix hiding of columns for recent Qt versions

To hide QTreeView colums, KCachegrind always used to set
the corresponding column widths to 0. However, this
does not work on recent Qt versions which enforce a
minimum column width by default (ie. columns stay visible).

So better use the correct way of hiding a column by
calling setColumnHidden(). This also should work for
old Qt versions.

Change {Call|Instr|Source}View accordingly.

Details

Committed
weidendoOct 3 2018, 11:08 PM
Parents
R49:1a504f739211: Customization of "objdump" command for instruction view
Branches
Unknown
Tags
Unknown