summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/mobilecomponents/ContextDrawer.qml
diff options
context:
space:
mode:
authorGravatar Sebastian Kügler <sebas@kde.org>2015-12-08 02:32:03 +0100
committerGravatar Sebastian Kügler <sebas@kde.org>2015-12-08 04:55:56 +0100
commit44fd9bff6776de3a7b66e8b33412a554551c50c3 (patch)
tree08bb00645c69fe4683cfbb4f9593bb479ad02d24 /qt-mobile/qml/mobilecomponents/ContextDrawer.qml
parent946cc5fec2bc17e1a31856571e1715c0d22230a8 (diff)
downloadsubsurface-44fd9bff6776de3a7b66e8b33412a554551c50c3.tar.gz
sync with mobilecomponents f4d5d19fc
- Kills a warning in ContextDrawer. - Improves sizing of menu icons. - Fixes icon rendering in menues. Signed-off-by: Sebastian Kügler <sebas@kde.org>
Diffstat (limited to 'qt-mobile/qml/mobilecomponents/ContextDrawer.qml')
-rw-r--r--qt-mobile/qml/mobilecomponents/ContextDrawer.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-mobile/qml/mobilecomponents/ContextDrawer.qml b/qt-mobile/qml/mobilecomponents/ContextDrawer.qml
index 07de5b88d..aea4a5ca5 100644
--- a/qt-mobile/qml/mobilecomponents/ContextDrawer.qml
+++ b/qt-mobile/qml/mobilecomponents/ContextDrawer.qml
@@ -37,6 +37,9 @@ OverlayDrawer {
id: menu
interactive: contentHeight > height
model: {
+ if (typeof root.actions == "undefined") {
+ return null;
+ }
if (root.actions.length == 0) {
return null;
} else {