diff --git a/shell/contents/views/Desktop.qml b/shell/contents/views/Desktop.qml index d9044a48..79357f27 100644 --- a/shell/contents/views/Desktop.qml +++ b/shell/contents/views/Desktop.qml @@ -86,32 +86,14 @@ Item { } } - Loader { - id: dialerOverlay - function open() { - source = Qt.resolvedUrl("Dialer.qml") - dialerOverlay.item.open(); - } - function close() { - dialerOverlay.item.close(); - } - anchors { - left: parent.left - top: statusPanel.bottom - right: parent.right - bottom: parent.bottom - } - z: 20 - } Loader { id: pinOverlay anchors { - left: parent.left - top: statusPanel.bottom - right: parent.right - bottom: parent.bottom + fill: parent + topMargin: containment.availableScreenRect.y + bottomMargin: parent.height - containment.availableScreenRect.height - containment.availableScreenRect.y } - z: 21 + z: 222 source: Qt.resolvedUrl("Pin.qml") } diff --git a/shell/contents/views/Pin.qml b/shell/contents/views/Pin.qml index e0705c92..85e64cd0 100644 --- a/shell/contents/views/Pin.qml +++ b/shell/contents/views/Pin.qml @@ -26,9 +26,14 @@ import "../components" Rectangle { id: pinScreen + width:1000 + height:1900 + //anchors.fill: parent + color: "black" opacity: 0.8 visible: simManager.pinRequired != OfonoSimManager.NoPin + //visible: true property OfonoSimManager simManager: ofonoSimManager OfonoManager { @@ -123,7 +128,7 @@ Rectangle { verticalAlignment: Qt.AlignVCenter font.pixelSize: theme.defaultFont.pixelSize color: textColor - text: i18n("%1 attempts left", (simManager.pinRetries ? simManager.pinRetries[simManager.pinRequired] : 0)); + text: /*i18n("%1 attempts left", (simManager.pinRetries ? simManager.pinRetries[simManager.pinRequired] : 0));*/ simManager.pinRetries[simManager.pinRequired] +"--"+ simManager.pinRequired } Text {