From 711b0c8136b463ce25f1d0851ac75c8b087ea4a0 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 3 Nov 2014 15:54:41 +0100 Subject: [PATCH] Revert "Fix shell errors" This reverts commit e0e352f77d0c6e8f64df08a155ac0f5d27e87f42. --- shell/contents/views/Desktop.qml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/shell/contents/views/Desktop.qml b/shell/contents/views/Desktop.qml index a432781c..6a060ffc 100644 --- a/shell/contents/views/Desktop.qml +++ b/shell/contents/views/Desktop.qml @@ -102,25 +102,25 @@ Item { Component.onCompleted: { console.log(ofonoManager.modems) } - //modemPath: ofonoManager.modems[0] + modemPath: ofonoManager.modems[0] } OfonoModem { id: modem1 - //modemPath: ofonoManager.modems[0] + modemPath: ofonoManager.modems[0] } OfonoContextConnection { id: context1 - //contextPath : ofono1.contexts[0] + contextPath : ofono1.contexts[0] Component.onCompleted: { print("Context Active: " + context1.active) - //textLine.text = context1.active ? "online" : "offline" + textLine.text = context1.active ? "online" : "offline" } onActiveChanged: { print("Context Active: " + context1.active) - //textLine.text = context1.active ? "online" : "offline" + textLine.text = context1.active ? "online" : "offline" } } @@ -322,9 +322,9 @@ Item { left: strengthIcon.right verticalCenter: parent.verticalCenter } - //text: netreg.strength + "% " + (ofonoManager.available ? netreg.currentOperator["Name"].toString() :"Ofono not available") + text: netreg.strength + "% " + (ofonoManager.available ? netreg.currentOperator["Name"].toString() :"Ofono not available") color: "white" - //font.pixelSize: height / 2 + font.pixelSize: height / 2 } Text { id: clock @@ -333,7 +333,7 @@ Item { color: "white" horizontalAlignment: Qt.AlignHCenter verticalAlignment: Qt.AlignVCenter - //font.pixelSize: height / 2 + font.pixelSize: height / 2 } MouseArea { property int oldMouseY: 0