From a3307e549d5c8ad755e4b3fbac5c47ea13e408f8 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 13 Jul 2018 10:39:20 +0200 Subject: Composer cleanup --- views/people/qml/People.qml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'views/people/qml/People.qml') diff --git a/views/people/qml/People.qml b/views/people/qml/People.qml index f90a4f56..8b35f5e7 100644 --- a/views/people/qml/People.qml +++ b/views/people/qml/People.qml @@ -18,7 +18,7 @@ */ import QtQuick 2.7 -import QtQuick.Controls 2.0 as Controls2 +import QtQuick.Controls 2 import QtQuick.Layouts 1.1 import org.kube.framework 1.0 as Kube @@ -82,7 +82,7 @@ FocusScope { } } - Controls2.StackView { + StackView { id: stack anchors { @@ -249,14 +249,13 @@ FocusScope { Rectangle { id: personComposerRoot - Kube.ContactController { - id: contactController - contact: root.currentContact - } - color: Kube.Colors.viewBackgroundColor PersonComposer { + contactController: Kube.ContactController { + id: contactController + contact: root.currentContact + } } Kube.PositiveButton { -- cgit v1.2.3