diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-08-26 12:43:24 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-08-26 15:23:37 +0000 |
commit | c3097c1688ad9eee91cbeade3b466a68a4889568 (patch) | |
tree | 4ca3524f824ceab151b292943d3138c96eeac511 /examples | |
parent | 54480f3fb6312205170cff3a16d84d53a2da143f (diff) |
texteditor: remove outdated todo-comments
The comments refer to the original code that was setting a declarative
source property in the Component.onCompleted signal handler, but this
does not really apply anymore now that we have an imperative method to
load document contents.
Change-Id: I9054cbc6ecec2c66d65251c49a5b1de2ad0623dc
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml | 2 | ||||
-rw-r--r-- | examples/quickcontrols2/texteditor/qml/texteditor.qml | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml b/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml index a6c339fd..11f0f306 100644 --- a/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml +++ b/examples/quickcontrols2/texteditor/qml/+touch/texteditor.qml @@ -106,8 +106,6 @@ ApplicationWindow { selectionStart: textArea.selectionStart selectionEnd: textArea.selectionEnd // textColor: TODO - // TODO: if we don't do this, e.g. the bold button won't be checked - // when it should be (the title is bold) Component.onCompleted: document.load("qrc:/texteditor.html") onLoaded: { textArea.text = text diff --git a/examples/quickcontrols2/texteditor/qml/texteditor.qml b/examples/quickcontrols2/texteditor/qml/texteditor.qml index 6d01ec84..c84d30d5 100644 --- a/examples/quickcontrols2/texteditor/qml/texteditor.qml +++ b/examples/quickcontrols2/texteditor/qml/texteditor.qml @@ -363,8 +363,6 @@ ApplicationWindow { selectionStart: textArea.selectionStart selectionEnd: textArea.selectionEnd textColor: colorDialog.color - // TODO: if we don't do this, e.g. the bold button won't be checked - // when it should be (the title is bold) Component.onCompleted: document.load("qrc:/texteditor.html") onLoaded: { textArea.text = text |