79397534

Date: 2025-01-29 16:59:02
Score: 1
Natty:
Report link

I've just been working on this using PySide6 and looks like some things may have changed in Qt since the answer above. This is what's working for me (and thank you for the post above because it's the only one I've found that had anything like a simple answer!):

palette = self.palette()
palette.setBrush(QPalette.ColorRole.HighlightedText, QBrush(Qt.BrushStyle.NoBrush))
self.setPalette(palette)
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dave Hudson