aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@digia.com>2014-04-08 06:32:25 +0200
committerAlessandro Portale <alessandro.portale@digia.com>2014-04-08 11:51:38 +0200
commit0b53638a75cf66357fc16639cbfd011b61e8e5db (patch)
tree9819a4f1005e58dcf05228535ffa603494db9926 /share
parent5ba6fc0195cdfaa26508ea6840339df144e6a867 (diff)
Revert "Welcome: Store examples search text in settings"
This reverts commit 894ade6f1e2767a8866642a4ea278659730c26d8 Storing the search text was not thought well through. It causes bad user experience. Also, the real solution for showing filtered Example sets in the chooser is coming here: https://codereview.qt-project.org/#change,82906 Change-Id: Ibb51bf5c0fa08fdeb8530a19d823ba97a3c167d1 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/welcomescreen/examples.qml7
1 files changed, 1 insertions, 6 deletions
diff --git a/share/qtcreator/welcomescreen/examples.qml b/share/qtcreator/welcomescreen/examples.qml
index 5dc5d53bde..53d77a0d3b 100644
--- a/share/qtcreator/welcomescreen/examples.qml
+++ b/share/qtcreator/welcomescreen/examples.qml
@@ -56,13 +56,8 @@ Rectangle {
anchors.right: parent.right
anchors.leftMargin: 18
- text: examplesModel.readSearchStringsFromSettings()
-
placeholderText: qsTr("Search in Examples...")
- onTextChanged: {
- examplesModel.parseSearchString(text);
- examplesModel.writeSearchStringToSettings(text);
- }
+ onTextChanged: examplesModel.parseSearchString(text)
}
ComboBox {