Commit 1d97b604 authored by Eike Ziller's avatar Eike Ziller

Set text editor font also for new search panels.

Task-number: QTCREATORBUG-6432

Change-Id: I67b6a92faccc65f92cc612abf210c0a2eca4860b
Reviewed-by: default avatarLeandro T. C. Melo <>
parent a0cf8d2b
......@@ -74,6 +74,7 @@ namespace Internal {
QStackedWidget *m_widget;
QList<SearchResult *> m_searchResults;
int m_currentIndex;
QFont m_font;
public slots:
void setCurrentIndex(int index);
......@@ -317,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->setInfo(label, toolTip, searchTerm);
......@@ -390,6 +392,7 @@ void SearchResultWindow::setFocus()
void SearchResultWindow::setTextEditorFont(const QFont &font)
d->m_font = font;
foreach (Internal::SearchResultWidget *widget, d->m_searchResultWidgets)
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