Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
libkscreen
Commits
0ce4720e
Commit
0ce4720e
authored
Oct 23, 2020
by
Aleix Pol Gonzalez
🐧
Committed by
Aleix Pol Gonzalez
Oct 29, 2020
Browse files
Config: Reserve hash size before populating it
parent
c6eaf30f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config.cpp
View file @
0ce4720e
...
...
@@ -232,6 +232,7 @@ QString Config::connectedOutputsHash() const
QStringList
hashedOutputs
;
const
auto
outputs
=
connectedOutputs
();
hashedOutputs
.
reserve
(
outputs
.
count
());
for
(
const
OutputPtr
&
output
:
outputs
)
{
hashedOutputs
<<
output
->
hash
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment