summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatertwitter.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-05-07 07:42:48 -0700
committerMerov Linden <merov@lindenlab.com>2014-05-07 07:42:48 -0700
commit3eb53f5426a710b0403a84bd6849fe48553194eb (patch)
treeb3670f45bddb04cea3a979920e0ae740735f255f /indra/newview/llfloatertwitter.cpp
parent8dae4bc222d1b0744254442ab0b26538285341de (diff)
Fix Windows build issues: change in onVisibility() profile needed to percolate to SL Share panels
Diffstat (limited to 'indra/newview/llfloatertwitter.cpp')
-rw-r--r--indra/newview/llfloatertwitter.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llfloatertwitter.cpp b/indra/newview/llfloatertwitter.cpp
index f20d886b7f..78e9259919 100644
--- a/indra/newview/llfloatertwitter.cpp
+++ b/indra/newview/llfloatertwitter.cpp
@@ -229,9 +229,8 @@ LLSnapshotLivePreview* LLTwitterPhotoPanel::getPreviewView()
return previewp;
}
-void LLTwitterPhotoPanel::onVisibilityChange(const LLSD& new_visibility)
+void LLTwitterPhotoPanel::onVisibilityChange(BOOL visible)
{
- bool visible = new_visibility.asBoolean();
if (visible)
{
if (mPreviewHandle.get())
@@ -592,10 +591,8 @@ void LLTwitterAccountPanel::draw()
LLPanel::draw();
}
-void LLTwitterAccountPanel::onVisibilityChange(const LLSD& new_visibility)
+void LLTwitterAccountPanel::onVisibilityChange(BOOL visible)
{
- bool visible = new_visibility.asBoolean();
-
if(visible)
{
LLEventPumps::instance().obtain("TwitterConnectState").stopListening("LLTwitterAccountPanel");