Commit db2d0d24 authored by Johnny Jazeix's avatar Johnny Jazeix
Browse files

core, removing non working code for testing if opengl is available

parent 6e30cfc6
......@@ -347,27 +347,5 @@ Window {
property Component replaceTransition: pushHTransition
}
}
onSceneGraphError: {
print("scene graph error ", error, message)
ApplicationSettings.renderer = "software"
Core.showMessageDialog(
main,
qsTr("There is an issue while running GCompris. " +
"We have fallbacken to software renderer mode that should solve the issue. ") +
"You need to restart GCompris so it can take effect.",
"", null, "", null, null);
}
onSceneGraphInvalidated: {
print("scene graph invalidated")
ApplicationSettings.renderer = "software"
Core.showMessageDialog(
main,
qsTr("There is an issue while running GCompris. " +
"We have fallbacken to software renderer mode that should solve the issue. ") +
"You need to restart GCompris so it can take effect.",
"", null, "", null, null);
}
/// @endcond
}
Markdown is supported
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