Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
QML: Ensure annotated function also has return type annotated.
Wolthera van Hövell tot Westerflier516f4cf245df
diff --git a/qmlmodules/components/qml/textinput/TextInputWithSelectionRange.qml b/qmlmodules/components/qml/textinput/TextInputWithSelectionRange.qmlindex 520af67bf1..f2eacaced1 100644--- a/qmlmodules/components/qml/textinput/TextInputWithSelectionRange.qml+++ b/qmlmodules/components/qml/textinput/TextInputWithSelectionRange.qml@@ -39,8 +39,7 @@ TextInput {clip: displayTextWidth > width- function clampSelection(selectionPosition: int)- {+ function clampSelection(selectionPosition: int) : int {return Math.min(Math.max(selectionPosition, selectionRangeStart), selectionRangeEnd);}