summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/plaintextlayout/window.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2014-02-19 10:28:39 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-20 08:14:04 +0100
commit9babaac16da14657ccf8629419328bf05c866eed (patch)
tree0efea39f7920f39b6a2b930a4c5aff9b5a550133 /src/gui/doc/snippets/plaintextlayout/window.cpp
parent72fbcc8bbf7bfae962ee9c3d3bccfc8253709bd4 (diff)
Only do a repolish() of the widget if it was already polished
By ensuring that the widget is already polished before doing a repolish it means that if you reset the stylesheet then it unsets any changes that the stylesheet had applied to the widget. Task-number: QTBUG-18958 Change-Id: Ie0aeda0dac9f2211b7feca138c115cf2b48aac80 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/gui/doc/snippets/plaintextlayout/window.cpp')
0 files changed, 0 insertions, 0 deletions