From 2ad5c32d5a3067d1494fad956f0846cc2eaecfe5 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Thu, 2 Jun 2016 10:22:34 +0200 Subject: [PATCH] Flash tray icon as part of a region restart notification --- indra/newview/llfloaterregionrestarting.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/indra/newview/llfloaterregionrestarting.cpp b/indra/newview/llfloaterregionrestarting.cpp index 3997de705c..e28a35fced 100644 --- a/indra/newview/llfloaterregionrestarting.cpp +++ b/indra/newview/llfloaterregionrestarting.cpp @@ -43,6 +43,7 @@ #include "llviewercontrol.h" #include "llviewerinventory.h" // [/SL:KB] +#include "llwindow.h" static S32 sSeconds; static U32 sShakeState; @@ -120,6 +121,12 @@ void LLFloaterRegionRestarting::onOpen(const LLSD& key) LLFloater::onOpen(key); refreshLandmarkList(); + + LLWindow* viewer_window = gViewerWindow->getWindow(); + if (viewer_window) + { + viewer_window->flashIcon(5.f); + } } void LLFloaterRegionRestarting::onTeleportClicked()