diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-09-27 15:58:50 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2013-09-30 12:13:28 +0200 |
commit | d9602ca550c53e60a5229bfec9539e41fa5a694c (patch) | |
tree | 9e0e1c7afc2207c390fdf1d85d58cc86dca326ab /src/plugins/clearcase/clearcaseplugin.cpp | |
parent | a12a9f491cb31ff5c22f1051bb22ccfef6c65217 (diff) | |
download | qt-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/clearcase/clearcaseplugin.cpp')
0 files changed, 0 insertions, 0 deletions