Don't disable itemview wordwarp workaround for QTBUG-14949 in 5.11

* It doesn't seem to be fixed.
This commit is contained in:
baldurk
2019-01-31 18:22:44 +00:00
parent 4be6bf50f9
commit c8cf35eb83
@@ -394,7 +394,9 @@ void RDTweakedNativeStyle::drawControl(ControlElement control, const QStyleOptio
// work around itemview rendering bug - the first line in a multi-line text that is elided stops
// all subsequent text from rendering. Should be fixed in 5.11, but for all other versions we need
// to manually step in. We manually elide the text before calling down to the style
#if(QT_VERSION < QT_VERSION_CHECK(5, 11, 0))
//
// However in 5.11.1 at least on macOS it still seems to be broken
#if 1 //(QT_VERSION < QT_VERSION_CHECK(5, 11, 0))
if(control == QStyle::CE_ItemViewItem)
{
const QStyleOptionViewItem *viewopt = qstyleoption_cast<const QStyleOptionViewItem *>(opt);