Commit e9f78ada authored by Sona Kurazyan's avatar Sona Kurazyan
Browse files

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: default avatarFriedemann Kleint <Friedemann.Kleint@qt.io>
parent 89e2d977
Branches
Tags
No related merge requests found
Showing with 0 additions and 1 deletion
......@@ -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) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment