Fixes: - Fix the unhighlight fix.

Details:  - We shouldn't do anything if the find filter doesn't change.
That probably also avoids multiple event filters on the same widget.
This commit is contained in:
con
2009-01-06 14:34:05 +01:00
parent 514b16c815
commit b0dd75b460

View File

@@ -147,7 +147,7 @@ void CurrentDocumentFind::updateCurrentFindFilter(QWidget *old, QWidget *now)
if (!impl)
candidate = candidate->parentWidget();
}
if (!impl)
if (!impl || impl == m_currentFind)
return;
removeFindSupportConnections();
if (m_currentFind)