summaryrefslogtreecommitdiffstats
path: root/qmake/meta.cpp
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2019-04-05 09:02:28 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2019-04-05 07:39:25 +0000
commit4e24bb24a234ee85fca25f9a117de7380083f593 (patch)
tree467b2a529f3b93f8a9c500c2aeb466b753f57bed /qmake/meta.cpp
parentb404cd930e32520f8ad62088c9ed31f33ce95933 (diff)
Remove noisy warning for undefined QGradient preset
This runtime warning was recently introduced in the fix for an assert/crash when creating a brush with an invalid Preset value. However, that overlooked the usage where an unknown value is passed to QGradient constructor, and the code afterwards checks if the result is a NoGradient or not. It turns out that such usage is already established as legitimate, including in the Qt Quick Rectangle code, so this warning would be spit out continuously for perfectly legal qml code. Change-Id: Id60aed0817da0214b6cf17edd245f67e26470413 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'qmake/meta.cpp')
0 files changed, 0 insertions, 0 deletions