summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2019-07-24 10:16:49 +0200
committerSona Kurazyan <sona.kurazyan@qt.io>2019-08-22 08:55:28 +0000
commite9f78adad0205ff539a35587be86c8e7a0bfd5bd (patch)
tree44959abba177323b00930763883e50e1484d174f /examples
parent89e2d977323e874b4074aa1b969a4be5141184b8 (diff)
Remove the usage of deprecated QApplication::setColorSpec()
This method has been deprecated and does not have any effect. Task-number: QTBUG-76491 Change-Id: I001718cc48a2d8ba5caf81a66511814d2ff87ba4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/activeqt/opengl/main.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/activeqt/opengl/main.cpp b/examples/activeqt/opengl/main.cpp
index 4b4a4df..94cbf27 100644
--- a/examples/activeqt/opengl/main.cpp
+++ b/examples/activeqt/opengl/main.cpp
@@ -78,7 +78,6 @@ QAXFACTORY_END()
int main(int argc, char *argv[])
{
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
- QApplication::setColorSpec(QApplication::CustomColor);
QApplication a(argc,argv);
if (QOpenGLContext::openGLModuleType() != QOpenGLContext::LibGL) {