]> cloud.milkyroute.net Git - dolphin.git/commit
Fix "truncated header" in Details View with non-Oxygen styles
authorFrank Reininghaus <frank78ac@googlemail.com>
Mon, 22 Jul 2013 17:04:14 +0000 (19:04 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Mon, 22 Jul 2013 17:04:14 +0000 (19:04 +0200)
commit9d6d998a51316a5d15dc759d7d25a8331b922159
treeb1e68b16de7f40c71b1887991586444f6ca851df
parent0f853681ab9ccfd2ca53483b490e136ba29cf27d
Fix "truncated header" in Details View with non-Oxygen styles

The code for painting the "empty header" was inconsistent with the
headers of the other columns, which is probably the reason why the other
styles got confused

a) No QStyleOptionHeader is used
b) Even if an empty header must be drawn, the last column is drawn with
   the option QStyleOptionHeader::End.

According to Christoph, it still doesn't work with the Skulpture style,
but it seems that the patch does at least not make things worse.

BUG: 301800
FIXED-IN: 4.11.0
REVIEW: 111608
src/kitemviews/private/kitemlistheaderwidget.cpp