Commits

Merov Linden  committed 5b5ac32 Merge

Pull from richard/viewer-experience

  • Participants
  • Parent commits 9883ebf, b3567b9

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() );