diff options
author | con <qtc-committer@nokia.com> | 2010-12-01 14:35:36 +0100 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-12-01 18:48:40 +0100 |
commit | c598118d5b970c7dc229e5a6a21d5beb880bcad1 (patch) | |
tree | 4beedd123cc0310186524d963d6b1fe763018e32 /src/plugins/texteditor/fontsettingspage.cpp | |
parent | e650076fd3051c444c7f5f965071cf6edb2884a7 (diff) | |
download | qt-creator-c598118d5b970c7dc229e5a6a21d5beb880bcad1.tar.gz |
Update the filter matches for the settings dialog.
Task-number: QTCREATORBUG-2936
Diffstat (limited to 'src/plugins/texteditor/fontsettingspage.cpp')
-rw-r--r-- | src/plugins/texteditor/fontsettingspage.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/plugins/texteditor/fontsettingspage.cpp b/src/plugins/texteditor/fontsettingspage.cpp index 45882f7e0f..2f27b940ab 100644 --- a/src/plugins/texteditor/fontsettingspage.cpp +++ b/src/plugins/texteditor/fontsettingspage.cpp @@ -358,8 +358,17 @@ QWidget *FontSettingsPage::createPage(QWidget *parent) updatePointSizes(); refreshColorSchemeList(); d_ptr->m_lastValue = d_ptr->m_value; - if (d_ptr->m_searchKeywords.isEmpty()) - d_ptr->m_searchKeywords = d_ptr->ui.fontGroupBox->title() + QLatin1Char(' ') + d_ptr->ui.colorSchemeGroupBox->title(); + if (d_ptr->m_searchKeywords.isEmpty()) { + QLatin1Char sep(' '); + d_ptr->m_searchKeywords = + d_ptr->ui.fontGroupBox->title() + sep + + d_ptr->ui.familyLabel->text() + sep + + d_ptr->ui.sizeLabel->text() + sep + + d_ptr->ui.zoomLabel->text() + sep + + d_ptr->ui.antialias->text() + sep + + d_ptr->ui.colorSchemeGroupBox->title(); + d_ptr->m_searchKeywords.remove(QLatin1Char('&')); + } return w; } |