Fix some QML warnings

This commit is contained in:
MaxXor 2018-07-28 07:37:43 -04:00
parent 1107daab98
commit 2842c33759
3 changed files with 2 additions and 3 deletions

View file

@ -65,7 +65,7 @@ Item {
} }
ColumnLayout { ColumnLayout {
z: bg.z + 1 z: parent.z + 1
id: mainLayout id: mainLayout
spacing: 10 spacing: 10
anchors { fill: parent; margins: 35 } anchors { fill: parent; margins: 35 }

View file

@ -68,7 +68,7 @@ Rectangle {
z: parent.z + 1 z: parent.z + 1
Image { Image {
anchors.fill: titleBar anchors.fill: parent
height: titleBar.height height: titleBar.height
width: titleBar.width width: titleBar.width
source: "../images/titlebarGradient.jpg" source: "../images/titlebarGradient.jpg"

View file

@ -1336,7 +1336,6 @@ ApplicationWindow {
onTransferClicked: { onTransferClicked: {
middlePanel.state = "Transfer"; middlePanel.state = "Transfer";
middlePanel.flickable.contentY = 0; middlePanel.flickable.contentY = 0;
mainFlickable.contentY = 0;
if(isMobile) { if(isMobile) {
hideMenu(); hideMenu();
} }