diff options
author | Oz Linden <oz@lindenlab.com> | 2011-04-01 09:24:05 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-04-01 09:24:05 -0400 |
commit | 5e617d77f34f17f7a8f3677270f2738f857a60b8 (patch) | |
tree | 921afb347a56f21c0ae7d5c34aae73d9ec96b1bb /indra/media_plugins/webkit/media_plugin_webkit.cpp | |
parent | e0ca936fbf7411bcc1cdd935a50c5913db6a1cb9 (diff) | |
parent | 8bc829220f8fc99180a1b1917220576a59de7339 (diff) |
merge changes for storm-1072
Diffstat (limited to 'indra/media_plugins/webkit/media_plugin_webkit.cpp')
-rw-r--r-- | indra/media_plugins/webkit/media_plugin_webkit.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/media_plugins/webkit/media_plugin_webkit.cpp b/indra/media_plugins/webkit/media_plugin_webkit.cpp index d6f8ae3e16..e24ee6629e 100644 --- a/indra/media_plugins/webkit/media_plugin_webkit.cpp +++ b/indra/media_plugins/webkit/media_plugin_webkit.cpp @@ -1231,7 +1231,9 @@ void MediaPluginWebKit::receiveMessage(const char *message_string) std::string url = message_in.getValue("url"); if ( 404 == code ) // browser lib only supports 404 right now { - LLQtWebKit::getInstance()->set404RedirectUrl( mBrowserWindowId, url ); +#if LLQTWEBKIT_API_VERSION < 8 + LLQtWebKit::getInstance()->set404RedirectUrl( mBrowserWindowId, url ); +#endif }; } else if(message_name == "set_user_agent") |