From adb27f56d46fde3ccbd110186f1781ee0b3f98d0 Mon Sep 17 00:00:00 2001 From: Yann Bodson Date: Mon, 12 Apr 2010 17:47:16 +1000 Subject: Doc: update Rectangle smooth painting screenshot. --- doc/src/declarative/pics/rect-smooth.png | Bin 32162 -> 24241 bytes .../graphicsitems/qdeclarativerectangle.cpp | 1 + 2 files changed, 1 insertion(+) diff --git a/doc/src/declarative/pics/rect-smooth.png b/doc/src/declarative/pics/rect-smooth.png index abbb0a9..7ffd8ab 100644 Binary files a/doc/src/declarative/pics/rect-smooth.png and b/doc/src/declarative/pics/rect-smooth.png differ diff --git a/src/declarative/graphicsitems/qdeclarativerectangle.cpp b/src/declarative/graphicsitems/qdeclarativerectangle.cpp index 3f7548f..54c8ab2 100644 --- a/src/declarative/graphicsitems/qdeclarativerectangle.cpp +++ b/src/declarative/graphicsitems/qdeclarativerectangle.cpp @@ -464,6 +464,7 @@ void QDeclarativeRectangle::drawRect(QPainter &p) filtering at the beginning of the animation and reenable it at the conclusion. \image rect-smooth.png + On this image, smooth is turned off on the top half and on on the bottom half. */ QRectF QDeclarativeRectangle::boundingRect() const -- cgit v0.12 From 94c9d486f266a4c99e389e900c9e157c077b7c7e Mon Sep 17 00:00:00 2001 From: Leonardo Sobral Cunha Date: Mon, 12 Apr 2010 17:46:10 +1000 Subject: Fix declarative examples autotest, avoid using native separators Reviewed-by: Joona Petrell --- tests/auto/declarative/examples/tst_examples.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp index 6d7e578..25cd1ee 100644 --- a/tests/auto/declarative/examples/tst_examples.cpp +++ b/tests/auto/declarative/examples/tst_examples.cpp @@ -90,7 +90,7 @@ to have them tested by the examples() test. void tst_examples::namingConvention(const QDir &d) { for (int ii = 0; ii < excludedDirs.count(); ++ii) { - QString s = QDir::toNativeSeparators(excludedDirs.at(ii)); + QString s = excludedDirs.at(ii); if (d.absolutePath().endsWith(s)) return; } @@ -131,7 +131,7 @@ void tst_examples::namingConvention() QStringList tst_examples::findQmlFiles(const QDir &d) { for (int ii = 0; ii < excludedDirs.count(); ++ii) { - QString s = QDir::toNativeSeparators(excludedDirs.at(ii)); + QString s = excludedDirs.at(ii); if (d.absolutePath().endsWith(s)) return QStringList(); } -- cgit v0.12