Commit 4d1586c9 authored by Johnny Jazeix's avatar Johnny Jazeix
Browse files

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

parent c58e4265
...@@ -346,27 +346,5 @@ Window { ...@@ -346,27 +346,5 @@ Window {
property Component replaceTransition: pushHTransition 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 /// @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