diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2018-07-13 16:34:49 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-08-29 07:34:26 +0000 |
commit | 8ef4964168ccca6153cd9dbfc631043d8293e370 (patch) | |
tree | 5fa48897c7824db395d2c31812b99543fef3ed60 /src/plugins/cpptools/cppsourceprocessor.cpp | |
parent | faccb8fd7195af5bcbbf5d9d226919bffe4b1865 (diff) | |
download | qt-creator-8ef4964168ccca6153cd9dbfc631043d8293e370.tar.gz |
QmlProfiler: Don't scan the whole file system in rewriter test
QLibraryInfo::location() returns one string. Iterating over that gives
us the individual characters, beginning with '/'. Running that through
FileName::fromString(), gives us "/", and feeding this to
ModelManagerInterface::importScan() is not funny.
This has to be backported as the sheer volume of files to be scanned
makes the tests time out.
(cherry-picked from commit af8bd1238724e3d578b9a16e4ffa88a6a046dca6)
Change-Id: Ib4293437ab83da8ed10a696fba2c30f5c51c8124
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppsourceprocessor.cpp')
0 files changed, 0 insertions, 0 deletions