mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Don't disable itemview wordwarp workaround for QTBUG-14949 in 5.11
* It doesn't seem to be fixed.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user