Fix linux compile and clean a thing

This commit is contained in:
Lirusaito
2019-03-08 19:03:24 -05:00
parent b98d0461d1
commit c2eeea8b70
2 changed files with 3 additions and 3 deletions

View File

@@ -132,8 +132,8 @@ protected:
void updateView();
private:
friend MarketplaceViewSortAction;
friend MarketplaceViewSortCheckItem;
friend struct MarketplaceViewSortAction;
friend struct MarketplaceViewSortCheckItem;
S32 getFolderCount();
LLInventoryCategoriesObserver * mCategoriesObserver;

View File

@@ -9332,7 +9332,7 @@ struct MarketplaceViewSortCheckItem : view_listener_t
{
bool handleEvent(LLPointer<LLOldEvents::LLEvent> event, const LLSD& userdata)
{
LLMenuGL::sMenuContainer->findControl(userdata["control"].asString())
gMenuHolder->findControl(userdata["control"].asString())
->setValue(LLFloaterMarketplaceListings::findInstance()->mPanelListings->onViewSortMenuItemCheck(userdata["data"]));
return true;
}