<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
this line of code used to work in PySide to get colours from the
main application's palette:<br>
QtWidgets.QApplication.palette().color(QtGui.QPalette.ColorGroup.Active,
QtGui.QPalette.ColorRole.ToolTipBase)<br>
<br>
PySide2 no longer accepts this:<br>
QtWidgets.QApplication.palette()<br>
<i>aborted (disconnected)</i><br>
<br>
Bug? I can't see any mention in of this change online.<br>
<br>
Cheers,<br>
frank<br>
<br>
<br>
<div class="moz-signature">-- <br>
<table style="width: 524px; height: 58px;" border="0">
<tbody>
<tr>
<td style="text-align: center;"><a
href="http://www.ohufx.com"><img
src="http://ohufx.com/images/ohufxLogo_50x50.png"
alt="ohufxLogo 50x50"></a></td>
<td style="text-align: center;"><strong><span
style="font-size: 10pt;"><a
href="http://ohufx.com/index.php/vfx-compositing">vfx
compositing</a></span> | <span style="font-size:
10pt;"><strong><a
href="http://ohufx.com/index.php/vfx-customising">workflow
customisation and consulting</a></strong> </span>
</strong></td>
</tr>
</tbody>
</table>
</div>
</body>
</html>