Skip to content
Snippets Groups Projects
Commit 28144129 authored by Eike Ziller's avatar Eike Ziller
Browse files

New searches should use the expand all button setting.

Change-Id: I7aea08c553a18f78b16e40a2685ffb5625e65617
Reviewed-on: http://codereview.qt-project.org/5229


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@nokia.com>
parent dfbdf287
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment