diff options
author | Francois Ferrand <thetypz@gmail.com> | 2013-07-03 18:23:03 +0200 |
---|---|---|
committer | Francois Ferrand <thetypz@gmail.com> | 2014-10-22 10:42:38 +0200 |
commit | 24626a68355a4797d07e22ef8fa3eec23b022406 (patch) | |
tree | 7687e10663177792d5ac2f7fb453ac0b5b8bf037 /src/plugins/coreplugin/find/searchresultwidget.cpp | |
parent | edc08ba2bc2ca0e4853d1e8a5aaf25908f3d1b4e (diff) | |
download | qt-creator-24626a68355a4797d07e22ef8fa3eec23b022406.tar.gz |
Use tab width in search results.
Task-number: QTCREATORBUG-2042
Change-Id: Ie1769cb44f60da8ef6b26d5d27f9c7a600534f6b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/coreplugin/find/searchresultwidget.cpp')
-rw-r--r-- | src/plugins/coreplugin/find/searchresultwidget.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/find/searchresultwidget.cpp b/src/plugins/coreplugin/find/searchresultwidget.cpp index a484699ac9..b61799dfa7 100644 --- a/src/plugins/coreplugin/find/searchresultwidget.cpp +++ b/src/plugins/coreplugin/find/searchresultwidget.cpp @@ -354,6 +354,11 @@ void SearchResultWidget::setTextEditorFont(const QFont &font, const SearchResult m_searchResultTreeView->setTextEditorFont(font, color); } +void SearchResultWidget::setTabWidth(int tabWidth) +{ + m_searchResultTreeView->setTabWidth(tabWidth); +} + void SearchResultWidget::setAutoExpandResults(bool expand) { m_searchResultTreeView->setAutoExpandResults(expand); |