summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpprefactoringchanges.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2021-06-07 12:23:19 +0200
committerEike Ziller <eike.ziller@qt.io>2021-06-08 06:36:53 +0000
commitee61b09b21e97e126c15998ed7890a501393039f (patch)
tree4954f4ebcb95f70132ef96f444bd6a1f6fa1c395 /src/plugins/cpptools/cpprefactoringchanges.cpp
parent93fcf5c91f4143262a4c1aee6a5b752bb85f23c3 (diff)
downloadqt-creator-ee61b09b21e97e126c15998ed7890a501393039f.tar.gz
GitGrep: Do not access global state from non-main thread
- VcsCommand calls into VcsOutputWindow at construction, so we need to construct it in the main thread - VcsCommand may not call into global settings from runCommand, so we need to store the ssh prompt command - accessing the GitClient singleton in a non-main thread is not thread-safe Change-Id: I3dcdff8091c2dcea1c165ce5b3eca5ef62d474fd Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/cpptools/cpprefactoringchanges.cpp')
0 files changed, 0 insertions, 0 deletions