summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/i18n/main.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2012-12-06 08:37:10 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-11 15:57:12 +0100
commit6797413db25b54638c879020e2af552f6e61bcf6 (patch)
tree991fd49518fac24e212ee2a18ea3ccfe1e8d2834 /examples/widgets/tools/i18n/main.cpp
parenta380c108a69051f0aaf1880b7f80d9065769a40f (diff)
Remove some dead code from QLabel::paintEvent()
The code removed was in a if (d->control) block and therefore d->control was always going to be true thus rendering the nested if invalid. The case that this would account for is already handled in the else for the parent if so this code is in effect not needed. Change-Id: I799383e238560a8a8e3d7dc073d3b1ee74269f90 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'examples/widgets/tools/i18n/main.cpp')
0 files changed, 0 insertions, 0 deletions