[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-workspace/Plasma/5.6] shell: use connectedOutputs instead of outputs for ShellCorona::numScr
From:       Weng Xuetian <wengxt () gmail ! com>
Date:       2016-03-04 17:36:40
Message-ID: E1abtea-0004Sc-M4 () scm ! kde ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic