规避主题对QTreeView的一些额外处理导致的样式问题。

This commit is contained in:
iaom 2022-06-10 17:37:28 +08:00
parent b3ae61cea6
commit 49dee904ce
1 changed files with 2 additions and 1 deletions

View File

@ -196,7 +196,8 @@ void ResultItemStyle::drawPrimitive(QStyle::PrimitiveElement element, const QSty
break;
}
default:
return QProxyStyle::drawPrimitive(element, option, painter, widget);
break;
// return QProxyStyle::drawPrimitive(element, option, painter, widget);
}
}