diff options
author | callum <none@none> | 2011-11-02 15:05:55 -0700 |
---|---|---|
committer | callum <none@none> | 2011-11-02 15:05:55 -0700 |
commit | 91354304fc8a5dd400aefa8047c2e1fe62d143bd (patch) | |
tree | 49891d92261c3ecb5e623be2cb18ef1fc53e978a /indra/media_plugins/webkit/media_plugin_webkit.cpp | |
parent | 148e5f436dbb6f9126f1f6235e9056d4fb14ca66 (diff) |
Turn off debug loading overlay for older versions of LLQtWebKit thar do not support it (Linux)
Diffstat (limited to 'indra/media_plugins/webkit/media_plugin_webkit.cpp')
-rw-r--r-- | indra/media_plugins/webkit/media_plugin_webkit.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/media_plugins/webkit/media_plugin_webkit.cpp b/indra/media_plugins/webkit/media_plugin_webkit.cpp index c7c66e5895..13d51099a8 100644 --- a/indra/media_plugins/webkit/media_plugin_webkit.cpp +++ b/indra/media_plugins/webkit/media_plugin_webkit.cpp @@ -383,8 +383,11 @@ private: //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() ); |