summaryrefslogtreecommitdiff
path: root/src/plugins/find/currentdocumentfind.cpp
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@digia.com>2013-09-27 15:58:50 +0200
committerNikolai Kosjar <nikolai.kosjar@digia.com>2013-09-30 12:13:28 +0200
commitd9602ca550c53e60a5229bfec9539e41fa5a694c (patch)
tree9e0e1c7afc2207c390fdf1d85d58cc86dca326ab /src/plugins/find/currentdocumentfind.cpp
parenta12a9f491cb31ff5c22f1051bb22ccfef6c65217 (diff)
downloadqt-creator-d9602ca550c53e60a5229bfec9539e41fa5a694c.tar.gz
CppEditor/CppTools: Fix plugin tests.
Starting with commit 243a625 EditorManager::closeEditors() does not delete the editors anymore, but calls deleteLater(). When the call returns, all kind of checks fail since the editor widget destructor was not yet called. Fixed by providing and calling Core::Tests::closeAndDeleteEditors(), which explicitly sends QEvent::DeferredDelete to the widget. Change-Id: I3287abbe74ccf7d7a18b997a847701c8be17cb55 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/find/currentdocumentfind.cpp')
0 files changed, 0 insertions, 0 deletions