aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterurldisplay.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llfloaterurldisplay.cpp
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/newview/llfloaterurldisplay.cpp')
-rw-r--r--linden/indra/newview/llfloaterurldisplay.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaterurldisplay.cpp b/linden/indra/newview/llfloaterurldisplay.cpp
index 8d12729..563eaf6 100644
--- a/linden/indra/newview/llfloaterurldisplay.cpp
+++ b/linden/indra/newview/llfloaterurldisplay.cpp
@@ -35,7 +35,7 @@
35#include "llfloaterurldisplay.h" 35#include "llfloaterurldisplay.h"
36 36
37#include "llpanelplace.h" 37#include "llpanelplace.h"
38#include "llvieweruictrlfactory.h" 38#include "lluictrlfactory.h"
39 39
40#include "v3dmath.h" 40#include "v3dmath.h"
41 41
@@ -46,7 +46,7 @@
46LLFloaterURLDisplay::LLFloaterURLDisplay(const LLSD& sd) 46LLFloaterURLDisplay::LLFloaterURLDisplay(const LLSD& sd)
47{ 47{
48 mFactoryMap["place_details_panel"] = LLCallbackMap(LLFloaterURLDisplay::createPlaceDetail, this); 48 mFactoryMap["place_details_panel"] = LLCallbackMap(LLFloaterURLDisplay::createPlaceDetail, this);
49 gUICtrlFactory->buildFloater(this, "floater_preview_url.xml", &getFactoryMap()); 49 LLUICtrlFactory::getInstance()->buildFloater(this, "floater_preview_url.xml", &getFactoryMap());
50 this->setVisible(false); 50 this->setVisible(false);
51 51
52 // If positioned at 0,0 the teleport button is behind the toolbar. 52 // If positioned at 0,0 the teleport button is behind the toolbar.
@@ -101,7 +101,7 @@ void* LLFloaterURLDisplay::createPlaceDetail(void* userdata)
101{ 101{
102 LLFloaterURLDisplay *self = (LLFloaterURLDisplay*)userdata; 102 LLFloaterURLDisplay *self = (LLFloaterURLDisplay*)userdata;
103 self->mPlacePanel = new LLPanelPlace(); 103 self->mPlacePanel = new LLPanelPlace();
104 gUICtrlFactory->buildPanel(self->mPlacePanel, "panel_place.xml"); 104 LLUICtrlFactory::getInstance()->buildPanel(self->mPlacePanel, "panel_place.xml");
105 105
106 return self->mPlacePanel; 106 return self->mPlacePanel;
107} 107}