summaryrefslogtreecommitdiffstats
path: root/src/designer/src/plugins
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2019-07-03 14:54:37 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2019-08-27 09:37:30 +0200
commitfb9703effba15e4c2a3f40d73960d78bcf6cccf7 (patch)
tree61bc3ee34a8e805ad07cdc2a59e5a9fb26277cad /src/designer/src/plugins
parentb5f040f18dd74da49900164fcaeea8d7398d32be (diff)
Remove usages of deprecated APIs
Replaced: QColor::dark() -> QColor::darker() QImage::byteCount() -> QImage::sizeInBytes() qMemCopy() -> memcpy() Task-number: QTBUG-76491 Change-Id: I5f820454fdb494a28df3f44a37e81ccd622104bd Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/designer/src/plugins')
-rw-r--r--src/designer/src/plugins/tools/view3d/view3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/designer/src/plugins/tools/view3d/view3d.cpp b/src/designer/src/plugins/tools/view3d/view3d.cpp
index 91700f650..3ae8bdf47 100644
--- a/src/designer/src/plugins/tools/view3d/view3d.cpp
+++ b/src/designer/src/plugins/tools/view3d/view3d.cpp
@@ -217,7 +217,7 @@ void QView3DWidget::initializeGL()
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
- qglClearColor(palette().color(QPalette::Window).dark());
+ qglClearColor(palette().color(QPalette::Window).darker());
glColor3f (1.0, 1.0, 1.0);
glEnable(GL_DEPTH_TEST);
glDepthFunc(GL_LEQUAL);