diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-09-09 08:39:11 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-09-09 08:39:11 (GMT) |
commit | 9a5885d3876375a7ca2c135ff4ec7ea93005227f (patch) | |
tree | 7f7c858bfe694d9b5e4fac74100d60f8fb51a12b | |
parent | 3146eab715817e25abc3c43232ddaa6602f1aefb (diff) | |
parent | e69c998f65a9cfe800d71cca4524bce4c16a661f (diff) | |
download | Qt-9a5885d3876375a7ca2c135ff4ec7ea93005227f.zip Qt-9a5885d3876375a7ca2c135ff4ec7ea93005227f.tar.gz Qt-9a5885d3876375a7ca2c135ff4ec7ea93005227f.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
-rw-r--r-- | demos/declarative/twitter/TwitterCore/TitleBar.qml | 13 | ||||
-rw-r--r-- | tests/auto/declarative/qdeclarativeimageprovider/qdeclarativeimageprovider.pro | 6 |
2 files changed, 13 insertions, 6 deletions
diff --git a/demos/declarative/twitter/TwitterCore/TitleBar.qml b/demos/declarative/twitter/TwitterCore/TitleBar.qml index 145c189..70de81d 100644 --- a/demos/declarative/twitter/TwitterCore/TitleBar.qml +++ b/demos/declarative/twitter/TwitterCore/TitleBar.qml @@ -94,10 +94,21 @@ Item { } } + Image { + id: quitButton + x: 5 + anchors.verticalCenter: parent.verticalCenter + source: "images/quit.png" + MouseArea { + anchors.fill: parent + onClicked: Qt.quit() + } + } + Text { id: categoryText anchors { - left: imageBox.right; right: parent.right; leftMargin: 10; rightMargin: 10 + left: quitButton.right; right: parent.right; leftMargin: 10; rightMargin: 10 verticalCenter: parent.verticalCenter } elide: Text.ElideLeft diff --git a/tests/auto/declarative/qdeclarativeimageprovider/qdeclarativeimageprovider.pro b/tests/auto/declarative/qdeclarativeimageprovider/qdeclarativeimageprovider.pro index bdb6423..3bf0ea1 100644 --- a/tests/auto/declarative/qdeclarativeimageprovider/qdeclarativeimageprovider.pro +++ b/tests/auto/declarative/qdeclarativeimageprovider/qdeclarativeimageprovider.pro @@ -8,11 +8,7 @@ SOURCES += tst_qdeclarativeimageprovider.cpp # QMAKE_CXXFLAGS = -fprofile-arcs -ftest-coverage # LIBS += -lgcov -symbian: { - importFiles.sources = data - importFiles.path = . - DEPLOYMENT = importFiles -} else { +!symbian: { DEFINES += SRCDIR=\\\"$$PWD\\\" } |