@@ -33,7 +33,6 @@ Item {
3333
3434 // A workaround to get the initial highlight correct
3535 sessionsList.highlightFollowsCurrentItem = true;
36− console.log("CurrentIndex->" + sessionsList.currentIndex)
3736 sessionsList.positionViewAtIndex(sessionsList.currentIndex, ListView.Contain);
3837 sessionsList.highlightFollowsCurrentItem = false;
3938 }
@@ -84,7 +83,7 @@ Item {
8483
8584 LoginAreaContainer {
8685 readonly property real margins: sessionsList.anchors.margins
87− readonly property real prefferedHeight: {
86+ readonly property real preferredHeight: {
8887 if (sessionsList.currentItem) {
8988 return (sessionsList.currentItem.height *
9089 (1 + sessionsList.model.count)) + 2 * margins
@@ -93,7 +92,7 @@ Item {
9392 }
9493 }
9594
96− height: prefferedHeight < parent.height ? prefferedHeight : parent.height - units.gu(4)
95+ height: preferredHeight < parent.height ? preferredHeight : parent.height - units.gu(4)
9796 width: parent.width
9897
9998 anchors {