diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2019-06-21 13:26:00 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2019-07-23 08:50:20 +0000 |
commit | 20cccf53ae12f707a6341c0550d106cc0970e229 (patch) | |
tree | d82081c2abb303c941381827a32a14bf2987ba33 /src/plugins/diffeditor/diffview.cpp | |
parent | 5f71a27f7b79e6270a34c83026465111fdcc14dc (diff) | |
download | qt-creator-20cccf53ae12f707a6341c0550d106cc0970e229.tar.gz |
CMake: Make server-mode handle server restarts
Make ServerModeReader::parse handle the forceCMakeRun flag gracefully.
The problem there was two-fold:
1. The server would send a "isReadyNow" signal when its connection is
estabilshed. This made the ServerModeReader trigger another parse run
with the same parameters.
That would in turn would force a new ServerMode process to be created.
2. The "configure" request that is sent races the new ServerMode
process being connected.
Solve both issues by connecting a slot to the server-mode's
connected signal and have that do the right thing.
Change-Id: I26f9ac00d6ad6397a1fd1fab78610951f535ab53
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/diffeditor/diffview.cpp')
0 files changed, 0 insertions, 0 deletions