diff options
author | Topi Reinio <topi.reinio@qt.io> | 2018-10-24 13:16:54 +0200 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2018-10-25 09:43:23 +0000 |
commit | b448bcb6df108d85e161d57307b398236df3a807 (patch) | |
tree | 490fae4ffb86b0fa9386eb333c5849c768e053b7 /src/effects | |
parent | c5ec9f64ac5a7cf15a0013e0fda9b5e4d757d783 (diff) | |
download | qtgraphicaleffects-b448bcb6df108d85e161d57307b398236df3a807.tar.gz |
Doc: Fix \code command usage
Since Qt 5.12, \code command accepts parameters, and in-line usage
no longer works (and wasnever documented to work).
Task-number: QTBUG-70980
Change-Id: I06e59b4a6fc91a5359d76cc6969a295384f52f94
Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/LevelAdjust.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/effects/LevelAdjust.qml b/src/effects/LevelAdjust.qml index 619b38a..004c798 100644 --- a/src/effects/LevelAdjust.qml +++ b/src/effects/LevelAdjust.qml @@ -84,7 +84,9 @@ Item { This property defines the change factor for how the value of each pixel color channel is altered according to the equation: - \code result.rgb = pow(original.rgb, 1.0 / gamma.rgb); \endcode + \code + result.rgb = pow(original.rgb, 1.0 / gamma.rgb); + \endcode Setting the gamma values under QtVector3d(1.0, 1.0, 1.0) makes the image darker, the values above QtVector3d(1.0, 1.0, 1.0) lighten it. |