Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 7cbccda5 authored by Frederik Gladhorn's avatar Frederik Gladhorn

Make sure for loop does not detach

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14350
parent 10625146
......@@ -367,7 +367,8 @@ QDebug operator<<(QDebug dbg, const KScreen::ConfigPtr &config)
{
if (config) {
dbg << "KScreen::Config(";
for (const auto output : config->outputs()) {
const auto outputs = config->outputs();
for (const auto &output : outputs) {
if (output->isConnected()) {
dbg << endl << output;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment