SL-16755 Show alert that download is not supported instead of failing silently
parent
60314ad80e
commit
57c4dee284
|
|
@ -71,6 +71,8 @@
|
|||
#include "llmediaentry.h"
|
||||
#include "llmediadataclient.h"
|
||||
#include "llmeshrepository.h"
|
||||
#include "llnotifications.h"
|
||||
#include "llnotificationsutil.h"
|
||||
#include "llagent.h"
|
||||
#include "llviewermediafocus.h"
|
||||
#include "lldatapacker.h"
|
||||
|
|
@ -3152,6 +3154,10 @@ void LLVOVolume::mediaEvent(LLViewerMediaImpl *impl, LLPluginClassMedia* plugin,
|
|||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case LLViewerMediaObserver::MEDIA_EVENT_FILE_DOWNLOAD:
|
||||
LLNotificationsUtil::add("MediaFileDownloadUnsupported");
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue