Commits

Anonymous committed 8d0f472

Reverted Linux LLQtWebKit to older version which triggered warnings here that are treated as errors.

Comments (0)

Files changed (1)

indra/media_plugins/webkit/media_plugin_webkit.cpp

 			else
 			if(message_name == "js_expose_object")
 			{
+#if LLQTWEBKIT_API_VERSION >= 9
 				bool expose_object = message_in.getValueBoolean( "expose" );
-#if LLQTWEBKIT_API_VERSION >= 9
 				LLQtWebKit::getInstance()->setExposeObject( expose_object );
 #endif
 			}
 			else
 			if(message_name == "js_values_valid")
 			{
+#if LLQTWEBKIT_API_VERSION >= 9
 				bool valid = message_in.getValueBoolean( "valid" );
-#if LLQTWEBKIT_API_VERSION >= 9
 				LLQtWebKit::getInstance()->setValuesValid( valid );
 #endif
 			}
 			else
 			if(message_name == "js_agent_location")
 			{
+#if LLQTWEBKIT_API_VERSION >= 9
 				F32 x = message_in.getValueReal("x");
 				F32 y = message_in.getValueReal("y");
 				F32 z = message_in.getValueReal("z");
-#if LLQTWEBKIT_API_VERSION >= 9
 				LLQtWebKit::getInstance()->setAgentLocation( x, y, z );
 #endif
 			}
 			else
 			if(message_name == "js_agent_language")
 			{
+#if LLQTWEBKIT_API_VERSION >= 9
 				const std::string& language = message_in.getValue("language");
-#if LLQTWEBKIT_API_VERSION >= 9
 				LLQtWebKit::getInstance()->setAgentLanguage( language );
 #endif
 			}
 			else
 			if(message_name == "js_agent_region")
 			{
+#if LLQTWEBKIT_API_VERSION >= 9
 				const std::string& region = message_in.getValue("region");
-#if LLQTWEBKIT_API_VERSION >= 9
 				LLQtWebKit::getInstance()->setAgentRegion( region );
 #endif
 			}
 			else
 			if(message_name == "js_agent_maturity")
 			{
+#if LLQTWEBKIT_API_VERSION >= 9
 				const std::string& maturity = message_in.getValue("maturity");
-#if LLQTWEBKIT_API_VERSION >= 9
 				LLQtWebKit::getInstance()->setAgentMaturity( maturity );
 #endif
 			}