From 3eb53f5426a710b0403a84bd6849fe48553194eb Mon Sep 17 00:00:00 2001 From: Merov Linden Date: Wed, 7 May 2014 07:42:48 -0700 Subject: Fix Windows build issues: change in onVisibility() profile needed to percolate to SL Share panels --- indra/newview/llfloatertwitter.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'indra/newview/llfloatertwitter.cpp') 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"); -- cgit v1.2.3