From b448bcb6df108d85e161d57307b398236df3a807 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Wed, 24 Oct 2018 13:16:54 +0200 Subject: 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 --- src/effects/LevelAdjust.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3