Commit 28144129 authored by Eike Ziller's avatar Eike Ziller

New searches should use the expand all button setting.

Change-Id: I7aea08c553a18f78b16e40a2685ffb5625e65617
Reviewed-on: http://codereview.qt-project.org/5229Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarJarek Kobus <jaroslaw.kobus@nokia.com>
parent dfbdf287
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment