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
KWin
Commits
2ccaa434
Commit
2ccaa434
authored
Sep 03, 2014
by
Martin Flöser
Browse files
[kwin_wayland] Fix Display::outputs
Should return a const-ref not a const copy.
parent
b51fb1f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/wayland/display.h
View file @
2ccaa434
...
...
@@ -66,7 +66,7 @@ public:
OutputInterface
*
createOutput
(
QObject
*
parent
=
nullptr
);
void
removeOutput
(
OutputInterface
*
output
);
const
QList
<
OutputInterface
*>
outputs
()
const
{
const
QList
<
OutputInterface
*>
&
outputs
()
const
{
return
m_outputs
;
}
...
...
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