diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2011-09-20 12:18:55 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2011-09-20 13:55:12 +0200 |
commit | 28144129d00b38a82781546876f95f0ecc715833 (patch) | |
tree | c44f9f20952e9fe4634e059b2c190e2aee214b61 /src/plugins/find | |
parent | dfbdf287034fca3cc9c59c546d06fda2af3e67ba (diff) | |
download | qt-creator-28144129d00b38a82781546876f95f0ecc715833.tar.gz |
New searches should use the expand all button setting.
Change-Id: I7aea08c553a18f78b16e40a2685ffb5625e65617
Reviewed-on: http://codereview.qt-project.org/5229
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
Diffstat (limited to 'src/plugins/find')
-rw-r--r-- | src/plugins/find/searchresultwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/find/searchresultwindow.cpp b/src/plugins/find/searchresultwindow.cpp index 93abdf4c4a..b5dfafee85 100644 --- a/src/plugins/find/searchresultwindow.cpp +++ b/src/plugins/find/searchresultwindow.cpp @@ -318,6 +318,7 @@ SearchResult *SearchResultWindow::startNewSearch(const QString &label, d->m_widget->insertWidget(1, widget); connect(widget, SIGNAL(navigateStateChanged()), this, SLOT(navigateStateChanged())); widget->setShowReplaceUI(searchOrSearchAndReplace != SearchOnly); + widget->setAutoExpandResults(d->m_expandCollapseAction->isChecked()); widget->setInfo(label, toolTip, searchTerm); if (searchOrSearchAndReplace == SearchAndReplace) widget->setDontAskAgainGroup(cfgGroup); |