From kde-commits Fri Mar 04 17:36:40 2016 From: Weng Xuetian Date: Fri, 04 Mar 2016 17:36:40 +0000 To: kde-commits Subject: [plasma-workspace/Plasma/5.6] shell: use connectedOutputs instead of outputs for ShellCorona::numScr Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=145711301114708 Git commit 33e91b85fd65e968c847345f41427fb6ad1cdfab by Weng Xuetian. Committed on 04/03/2016 at 17:36. Pushed by xuetianweng into branch 'Plasma/5.6'. use connectedOutputs instead of outputs for ShellCorona::numScreens() REVIEW: 127274 M +1 -1 shell/shellcorona.cpp http://commits.kde.org/plasma-workspace/33e91b85fd65e968c847345f41427fb6ad1= cdfab diff --git a/shell/shellcorona.cpp b/shell/shellcorona.cpp index eb2aa7a..2a78ca9 100644 --- a/shell/shellcorona.cpp +++ b/shell/shellcorona.cpp @@ -634,7 +634,7 @@ int ShellCorona::numScreens() const if (!m_screenConfiguration) { return 0; } - return m_screenConfiguration->outputs().count(); + return m_screenConfiguration->connectedOutputs().count(); } = QRect ShellCorona::screenGeometry(int id) const