Hi,

this line of code used to work in PySide to get colours from the main application's palette: QtWidgets.QApplication.palette().color(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.ToolTipBase)

PySide2 no longer accepts this:
QtWidgets.QApplication.palette()
/aborted (disconnected)/

Bug? I can't see any mention in of this change online.

Cheers,
frank


--
ohufxLogo 50x50 <http://www.ohufx.com> *vfx compositing <http://ohufx.com/index.php/vfx-compositing> | *workflow customisation and consulting <http://ohufx.com/index.php/vfx-customising>* *

_______________________________________________
PySide mailing list
PySide@qt-project.org
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to