[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [calligra] active/qml: Don't offer metadata if you don't have them.
From: Shantanu Tushar <shaan7in () gmail ! com>
Date: 2012-06-11 19:04:33
Message-ID: 20120611190433.85FB8A60C6 () git ! kde ! org
[Download RAW message or body]
Git commit 94792ad14982924e7139660c7ac68b5a990f9249 by Shantanu Tushar.
Committed on 11/06/2012 at 20:22.
Pushed by shantanu into branch 'master'.
Don't offer metadata if you don't have them.
M +2 -0 active/qml/HomeScreen.qml
http://commits.kde.org/calligra/94792ad14982924e7139660c7ac68b5a990f9249
diff --git a/active/qml/HomeScreen.qml b/active/qml/HomeScreen.qml
index 50f9a5a..67f9e8d 100644
--- a/active/qml/HomeScreen.qml
+++ b/active/qml/HomeScreen.qml
@@ -37,6 +37,7 @@ Image {
DocumentTypeSelector {
id: docTypeSelector
=
+ visible: metadataInternalModel ? true : false
buttonWidth: homeScreen.width/2.1; buttonHeight: 100;
anchors.left: parent.left
anchors.top: parent.top
@@ -48,6 +49,7 @@ Image {
RecentFiles {
id: recentFiles
=
+ visible: metadataInternalModel ? true : false
buttonWidth: homeScreen.width/2.1; buttonHeight: 100;
anchors.left: parent.horizontalCenter
anchors.top: parent.top
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic