summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-06-05 08:13:16 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-06-05 12:27:14 (GMT)
commita468e2f12536600abff582e8770ec42e1782bdab (patch)
tree6dc0582b8f673da65f190836538e3ebc62bfc905 /examples
parent4acabb3abd0ff109b9abeedb6832f5b1c3e0cc4e (diff)
downloadQt-a468e2f12536600abff582e8770ec42e1782bdab.zip
Qt-a468e2f12536600abff582e8770ec42e1782bdab.tar.gz
Qt-a468e2f12536600abff582e8770ec42e1782bdab.tar.bz2
Add a callback so Qt updates its color stuff when the profile changes.
We've had a problem with a stale cache for color profiles this should make things work well. We get the callback for each display whether it needs it or not, but honesly I would rather that we update this a few times too many when people change their display profile than not at all. FWIW, this code is inspired from Apple's Tech Note TN2035.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions