diff options
author | Christian Stenger <christian.stenger@qt.io> | 2018-04-06 09:24:48 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2018-04-09 10:38:23 +0000 |
commit | 51cc3957b49b5bc305409ec012f3f97fa8db419b (patch) | |
tree | 02b2c28f34b5b346fd1b1ebd77d45865da9635b0 /src/tools/clangrefactoringbackend/clangrefactoringbackend.pro | |
parent | 9053cd7515a47605738a2e418d62d94db445ec8b (diff) | |
download | qt-creator-51cc3957b49b5bc305409ec012f3f97fa8db419b.tar.gz |
AutoTest: Replace expensive function call
Depending on the underlying project manager it can be
pretty expensive calling PE::canRunStartupProject().
AutoTest plugin used this to determine whether its
global actions should be enabled or not and updating
these actions is triggered for too many causes.
Replace this function call by some simple checks that
have almost no cost to avoid blocking UI.
Task-number: QTCREATORBUG-20175
Change-Id: I0e3cce683f33abe82bf1354ec5276250f5e30068
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/tools/clangrefactoringbackend/clangrefactoringbackend.pro')
0 files changed, 0 insertions, 0 deletions