diff options
author | Sergio Martins <iamsergio@gmail.com> | 2015-08-12 14:24:37 +0100 |
---|---|---|
committer | Sergio Martins <iamsergio@gmail.com> | 2015-08-12 14:29:39 +0100 |
commit | 2716b453a5cb859184784e12c3e0dc5f701fc984 (patch) | |
tree | 36071dacdf7b67788e9324ce11e6aacd4b1b063c /src/core/kconfigbackend.cpp | |
parent | 36d61ee54492bc82e58f50bbf65ab4039f2da4ac (diff) | |
download | kconfig-2716b453a5cb859184784e12c3e0dc5f701fc984.tar.gz kconfig-2716b453a5cb859184784e12c3e0dc5f701fc984.tar.bz2 |
Minimize calls to expensive QStandardPaths::locateAll()
It's called a lot at startup as shown by profiling.
heaptrack also complains it does many heap allocations, so cache it.
REVIEW: 124199
Diffstat (limited to 'src/core/kconfigbackend.cpp')
0 files changed, 0 insertions, 0 deletions