From b0dd75b460e354f49c8c83b350d2b981f563e3e4 Mon Sep 17 00:00:00 2001 From: con <qtc-committer@nokia.com> Date: Tue, 6 Jan 2009 14:34:05 +0100 Subject: [PATCH] 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. --- src/plugins/find/currentdocumentfind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/find/currentdocumentfind.cpp b/src/plugins/find/currentdocumentfind.cpp index ed0a61c8319..dd25564a437 100644 --- a/src/plugins/find/currentdocumentfind.cpp +++ b/src/plugins/find/currentdocumentfind.cpp @@ -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) -- GitLab