Flash tray icon as part of a region restart notification

meow-7.2.2
Ansariel 2016-06-02 10:22:34 +02:00
parent d22d0da0e8
commit 2ad5c32d5a
1 changed files with 7 additions and 0 deletions

View File

@ -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()