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

List:       kde-commits
Subject:    [kube/develop] components/package/contents/ui: Don't show the part treeview by default
From:       Christian Mollekopf <chrigi_1 () fastmail ! fm>
Date:       2016-06-13 13:28:30
Message-ID: E1bCRuo-0004co-HR () scm ! kde ! org
[Download RAW message or body]

Git commit fac195bc445e4c2741758f7b87b535c64b356d20 by Christian Mollekopf.
Committed on 13/06/2016 at 13:28.
Pushed by cmollekopf into branch 'develop'.

Don't show the part treeview by default

... is a debugging utility.

M  +3    -1    components/package/contents/ui/MailViewer.qml

http://commits.kde.org/kontact-quick/fac195bc445e4c2741758f7b87b535c64b356d=
20

diff --git a/components/package/contents/ui/MailViewer.qml b/components/pac=
kage/contents/ui/MailViewer.qml
index 77ba88e..d62daaf 100644
--- a/components/package/contents/ui/MailViewer.qml
+++ b/components/package/contents/ui/MailViewer.qml
@@ -9,7 +9,8 @@ Item {
     id: root
     property variant message;
     property string html;
-    property int desiredHeight: topPartLoader.height+450;
+    property bool enablePartTreeView : false
+    property int desiredHeight: enablePartTreeView ? topPartLoader.height+=
450 : topPartLoader.height;
 =

     Rectangle {
         id: rootRectangle
@@ -29,6 +30,7 @@ Item {
                     height: topPartLoader.desiredHeight
                 }
                 TreeView {
+                    visible: enablePartTreeView
                     width: 500
                     height: 400
                     TableViewColumn {
[prev in list] [next in list] [prev in thread] [next in thread] 

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