Fixed using of QHeaderView obsolete members.