Change searchbar background color to red(ish) when no match found

This commit is contained in:
Christian Surlykke
2013-01-17 17:02:51 +01:00
parent e67682a663
commit c3d72a638a
4 changed files with 34 additions and 8 deletions
+1
View File
@@ -148,6 +148,7 @@ void QTermWidget::search(QRegExp regexp, bool forwards, bool next)
new HistorySearch(m_impl->m_session->emulation(), regexp, forwards, startColumn, startLine, this);
connect(historySearch, SIGNAL(matchFound(int, int, int, int)), this, SLOT(matchFound(int, int, int, int)));
connect(historySearch, SIGNAL(noMatchFound()), this, SLOT(noMatchFound()));
connect(historySearch, SIGNAL(noMatchFound()), m_searchBar, SLOT(noMatchFound()));
historySearch->search();
}