summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-29 11:50:32 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-29 11:50:32 (GMT)
commitd5588326aa2df29ea437e70859de6bdb876e39dd (patch)
treeaaea4781e0b434f302271f8116f4996383f57380 /tests
parent455ff204dd503353dd1c04d4f86e1c200d10cc58 (diff)
downloadQt-d5588326aa2df29ea437e70859de6bdb876e39dd.zip
Qt-d5588326aa2df29ea437e70859de6bdb876e39dd.tar.gz
Qt-d5588326aa2df29ea437e70859de6bdb876e39dd.tar.bz2
Compile after API rename
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/qdesktopwidget/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/qdesktopwidget/main.cpp b/tests/manual/qdesktopwidget/main.cpp
index 1afc82e..2cbdfb9 100644
--- a/tests/manual/qdesktopwidget/main.cpp
+++ b/tests/manual/qdesktopwidget/main.cpp
@@ -130,7 +130,7 @@ private slots:
screenNumber->setBrush(fillBrush);
screenNumber->setFont(QFont("Arial Black", 18));
screenNumber->setTransform(QTransform().scale(10, 10));
- screenNumber->setTransformOrigin(screenNumber->boundingRect().center());
+ screenNumber->setTransformOriginPoint(screenNumber->boundingRect().center());
QSizeF center = (workRect.size() - screenNumber->boundingRect().size()) / 2;
screenNumber->setPos(center.width(), center.height());