summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-11-28 19:43:33 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-11-29 00:27:12 +0000
commite434add2de7c5c52a4873735e8db0895026eb7fa (patch)
tree29b1ba251a08370364bb12bf1f986c687a6400d3
parent10b5954e229693c06b44714fcf7a4edf5517c67c (diff)
iOS: Don't set background color when debugging window management
It will fill the view in some cases, obscuring what Qt draws. Change-Id: I9ca00dddd829a28fb2cb3b009bfd3223f85ef7cb Reviewed-by: Jake Petroules <jake.petroules@qt.io>
-rw-r--r--src/plugins/platforms/ios/quiview.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/platforms/ios/quiview.mm b/src/plugins/platforms/ios/quiview.mm
index 1faf253d2d..a56530e1d9 100644
--- a/src/plugins/platforms/ios/quiview.mm
+++ b/src/plugins/platforms/ios/quiview.mm
@@ -95,7 +95,6 @@
#define colorWithBrightness(br) \
[UIColor colorWithHue:hue saturation:0.5 brightness:br alpha:1.0].CGColor
- self.layer.backgroundColor = colorWithBrightness(0.5);
self.layer.borderColor = colorWithBrightness(1.0);
self.layer.borderWidth = 1.0;
}