Commits

Anonymous committed 3d982ac

Turn off debug loading overlay for older versions of LLQtWebKit thar do not support it (Linux)

  • Participants
  • Parent commits 5b63750

Comments (0)

Files changed (1)

File indra/media_plugins/webkit/media_plugin_webkit.cpp

 		//lldebugs << "data url is: " << url.str() << llendl;
 
 		// loading overlay debug screen follows media debugging flag from client for now.
+#if LLQTWEBKIT_API_VERSION >= 16
 		LLQtWebKit::getInstance()->enableLoadingOverlay(mBrowserWindowId, mEnableMediaPluginDebugging);
-
+#else
+		llwarns << "Ignoring enableLoadingOverlay() call (llqtwebkit version is too old)." << llendl;
+#endif
 		str.clear();
 		str << "Loading overlay enabled = " << mEnableMediaPluginDebugging << " for mBrowserWindowId = " << mBrowserWindowId;
 		postDebugMessage( str.str() );