diff options
author | Eike Ziller <eike.ziller@digia.com> | 2013-12-06 15:55:14 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2013-12-18 13:27:27 +0100 |
commit | 9b9d339c101e9fadc12da4d2b2372daa8817ebac (patch) | |
tree | b98fc10f45f841dfd9b825a0abdb4edd37d087ad /src/plugins/coreplugin/dialogs/ioptionspage.h | |
parent | 8178f709c2b6e19b00aa1cedc4c9767b20f71e54 (diff) | |
download | qt-creator-9b9d339c101e9fadc12da4d2b2372daa8817ebac.tar.gz |
Hardcode search terms for designer options page
By taking the translated text from designer.
This way we don't freeze directly when filtering the options page. We
still have to initialize designer (and therefore freeze) the moment that
category gets selected though (which can also happen during filtering).
Task-number: QTCREATORBUG-9584
Change-Id: I88275db97f87a5da8c565bccc8ae41de3b51a135
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/plugins/coreplugin/dialogs/ioptionspage.h')
-rw-r--r-- | src/plugins/coreplugin/dialogs/ioptionspage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/dialogs/ioptionspage.h b/src/plugins/coreplugin/dialogs/ioptionspage.h index e9feaed7b0..0b121ba2d8 100644 --- a/src/plugins/coreplugin/dialogs/ioptionspage.h +++ b/src/plugins/coreplugin/dialogs/ioptionspage.h @@ -94,6 +94,7 @@ public: QIcon categoryIcon() const { return QIcon(m_categoryIcon); } virtual QList<IOptionsPage *> pages() const = 0; + virtual bool matches(const QString & /* searchKeyWord*/) const = 0; protected: void setCategory(Core::Id category) { m_category = category; } |