aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlscene/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlscene/main.cpp b/tools/qmlscene/main.cpp
index 0aa64ceece..f0f262ca72 100644
--- a/tools/qmlscene/main.cpp
+++ b/tools/qmlscene/main.cpp
@@ -440,7 +440,7 @@ int main(int argc, char ** argv)
surfaceFormat.setAlphaBufferSize(8);
qxView.setFormat(surfaceFormat);
qxView.setClearBeforeRendering(true);
- qxView.setClearColor(QColor(Qt::transparent));
+ qxView.setColor(QColor(Qt::transparent));
qxView.setWindowFlags(Qt::FramelessWindowHint);
}