diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2012-11-30 11:44:52 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-30 15:20:52 +0100 |
commit | 18f42ab9b5e5b7bd9bd324af4c2ac449a5c2107e (patch) | |
tree | d19883175976bb5347ec3521b3a5ca0a1490e140 | |
parent | 59d19f0a102473dbebe82a19bc3eb81824a069a6 (diff) |
Remove the remaining usages of deprecated QWindow accessors
Change-Id: I146e7b8e3ae0ee74f5f4e3ef85f59d50a639c0f5
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
-rw-r--r-- | src/qmltest/quicktest.cpp | 2 | ||||
-rw-r--r-- | tools/qmlscene/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qmltest/quicktest.cpp b/src/qmltest/quicktest.cpp index 6a96395794..6be10add38 100644 --- a/src/qmltest/quicktest.cpp +++ b/src/qmltest/quicktest.cpp @@ -312,7 +312,7 @@ int quick_test_main(int argc, char **argv, const char *name, const char *sourceD // an asynchronous test and we need to show the window // and wait for the first frame to be rendered // and then wait for quit indication. - view->setFramePos(QPoint(50, 50)); + view->setFramePosition(QPoint(50, 50)); if (view->size().isEmpty()) { // Avoid hangs with empty windows. qWarning().nospace() << "Test '" << QDir::toNativeSeparators(path) << "' has invalid size " diff --git a/tools/qmlscene/main.cpp b/tools/qmlscene/main.cpp index 32bf32edd8..87a577b44e 100644 --- a/tools/qmlscene/main.cpp +++ b/tools/qmlscene/main.cpp @@ -503,7 +503,7 @@ int main(int argc, char ** argv) window->setFormat(surfaceFormat); window->setClearBeforeRendering(true); window->setColor(QColor(Qt::transparent)); - window->setWindowFlags(Qt::FramelessWindowHint); + window->setFlags(Qt::FramelessWindowHint); } if (options.fullscreen) |