aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2017-11-16 16:13:03 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2017-11-16 16:13:03 +0900
commit47d1b5d1badc999c4cab20bbe801ef1f0e67c49c (patch)
tree9e62f032c9288ce05d01767adae6fed56d1330a2 /homescreen
parent4940d001f08bec6fd68293efcbd6673a9ffce65e (diff)
Replace Qt Quick Controls 1.x with 2.x API
Qt Quick Controls 1.x is designed for PC apps. Car HMI should use 2.x APIs Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'homescreen')
-rw-r--r--homescreen/qml/MediaArea.qml2
-rw-r--r--homescreen/qml/MediaAreaMusic.qml2
-rw-r--r--homescreen/qml/StatusArea.qml1
3 files changed, 2 insertions, 3 deletions
diff --git a/homescreen/qml/MediaArea.qml b/homescreen/qml/MediaArea.qml
index d7159d2..0447589 100644
--- a/homescreen/qml/MediaArea.qml
+++ b/homescreen/qml/MediaArea.qml
@@ -16,7 +16,7 @@
*/
import QtQuick 2.2
-import QtQuick.Controls 1.0
+import QtQuick.Controls 2.0
StackView {
id: root
diff --git a/homescreen/qml/MediaAreaMusic.qml b/homescreen/qml/MediaAreaMusic.qml
index 927e82c..c0408e6 100644
--- a/homescreen/qml/MediaAreaMusic.qml
+++ b/homescreen/qml/MediaAreaMusic.qml
@@ -17,7 +17,7 @@
import QtQuick 2.2
import QtQuick.Layouts 1.1
-import QtQuick.Controls 1.0
+import QtQuick.Controls 2.0
Image {
width: 1080
diff --git a/homescreen/qml/StatusArea.qml b/homescreen/qml/StatusArea.qml
index 3fc3079..4dbe0ba 100644
--- a/homescreen/qml/StatusArea.qml
+++ b/homescreen/qml/StatusArea.qml
@@ -17,7 +17,6 @@
import QtQuick 2.2
import QtQuick.Layouts 1.1
-import QtQuick.Controls 1.0
import HomeScreen 1.0
Item {