diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-01-07 14:32:21 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-01-07 16:36:53 +0000 |
commit | b2638f8ac39f5416d614bc2e88e413b0cfefd7af (patch) | |
tree | 67b52150f91f5292ee6d5b6f93a94f9826606bc2 /src/plugins/cpptools/cppprojectfilecategorizer.cpp | |
parent | 034c514c3afca55f42863b1fd60563fda676ec7d (diff) | |
download | qt-creator-b2638f8ac39f5416d614bc2e88e413b0cfefd7af.tar.gz |
PerfProfiler: When saving is canceled, don't flush the buffer anymore
Flushing the compression buffer can be expensive. If the save operation
is canceled we know that the user wants the process to stop ASAP. So,
rather discard all remaining buffered data in that case.
Change-Id: Id77ec6fabb5a26690a7d2d8596f25f44d3185253
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppprojectfilecategorizer.cpp')
0 files changed, 0 insertions, 0 deletions