diff options
| author | Peter Penz <[email protected]> | 2011-03-12 18:45:59 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-03-12 18:46:24 +0100 |
| commit | 747a86573feb65e2ffe57cdae7dedf6ad272e789 (patch) | |
| tree | 5034985dd4cae30790bef0cc3ec05f79f082183b /src/views/tooltips/filemetadatatooltip.cpp | |
| parent | b9de2cf96f747952366da2ebc9389c1fdc238a5f (diff) | |
Details view optimization
Constructing a KColorScheme object is very expensive because of a number
of tint computations. When scrolling a big list more than 30 % of the
time was spent here. Instead, we can precompute and store the inactive
text color. (see https://git.reviewboard.kde.org/r/100826/)
Thanks to Samuel Rødal for the patch!
Diffstat (limited to 'src/views/tooltips/filemetadatatooltip.cpp')
0 files changed, 0 insertions, 0 deletions
