aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qmltest/quicktest.cpp2
-rw-r--r--tools/qmlscene/main.cpp2
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)