Only set system style when it actually changes
commitfb5790e1b1d4ddeac19a2996c806744509de4ac8
authorJens Bache-Wiig <jbache@trolltech.com>
Thu, 2 Apr 2009 17:09:52 +0000 (2 19:09 +0200)
committerJens Bache-Wiig <jbache@trolltech.com>
Thu, 2 Apr 2009 17:13:14 +0000 (2 19:13 +0200)
treec6721f1aa89a5e1bf082b3ae1a9b1836cc7a6930
parent7c09fda559760b8488d3130a5932fee04b2f6979
Only set system style when it actually changes
This issue would cause Qt Creator and similar apps with proxy styles to loose
their custom styling whenever any x11 system settings changed.
This happened because we would re-read the settings and override the
system style even if the system style did not actually change would be set on
the application. We

Task-number: 250199
Reviewed-by: ogoffart
src/gui/kernel/qapplication_x11.cpp