diff options
author | callum_linden <none@none> | 2015-12-15 15:24:41 -0800 |
---|---|---|
committer | callum_linden <none@none> | 2015-12-15 15:24:41 -0800 |
commit | 3bf8929d932a6253177be55766cd2a80bb6e224d (patch) | |
tree | 316d7c3231e370ed7a786cc23f3a6a9709110ce3 /indra/newview/llmediactrl.cpp | |
parent | 3e46058651570f8e3a8cd20b597544bb07fea0a9 (diff) |
MAINT-5966 - file download failures need feedback
Diffstat (limited to 'indra/newview/llmediactrl.cpp')
-rwxr-xr-x | indra/newview/llmediactrl.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llmediactrl.cpp b/indra/newview/llmediactrl.cpp index 9b8e24a8e8..9cf3249983 100755 --- a/indra/newview/llmediactrl.cpp +++ b/indra/newview/llmediactrl.cpp @@ -57,6 +57,7 @@ #include "llbutton.h" #include "llcheckboxctrl.h" #include "llnotifications.h" +#include "llnotificationsutil.h" #include "lllineeditor.h" #include "llfloaterwebcontent.h" #include "llwindowshade.h" @@ -1093,6 +1094,13 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event) }; break; + case MEDIA_EVENT_FILE_DOWNLOAD: + { + //llinfos << "Media event - file download requested - filename is " << self->getFileDownloadFilename() << llendl; + //LLNotificationsUtil::add("MediaFileDownloadUnsupported"); + }; + break; + case MEDIA_EVENT_DEBUG_MESSAGE: { LL_INFOS("media") << self->getDebugMessageText() << LL_ENDL; |