From 263fd1345875eb0389e2ed0a8cbeb4e458a2d007 Mon Sep 17 00:00:00 2001 From: Leslie Linden Date: Thu, 5 Jan 2012 10:57:09 -0800 Subject: Removed unused code for old outbox error reporting --- indra/newview/llpanelmarketplaceoutboxinventory.h | 26 +++-------------------- 1 file changed, 3 insertions(+), 23 deletions(-) (limited to 'indra/newview/llpanelmarketplaceoutboxinventory.h') diff --git a/indra/newview/llpanelmarketplaceoutboxinventory.h b/indra/newview/llpanelmarketplaceoutboxinventory.h index 346680a79d..167f371f0e 100644 --- a/indra/newview/llpanelmarketplaceoutboxinventory.h +++ b/indra/newview/llpanelmarketplaceoutboxinventory.h @@ -28,7 +28,6 @@ #define LL_OUTBOXINVENTORYPANEL_H -#include "llbadgeowner.h" #include "llinventorypanel.h" #include "llfolderviewitem.h" @@ -53,41 +52,22 @@ public: }; -class LLOutboxFolderViewFolder : public LLFolderViewFolder, public LLBadgeOwner +class LLOutboxFolderViewFolder : public LLFolderViewFolder { public: struct Params : public LLInitParam::Block { - Optional error_badge; - - Params() - : error_badge("error_badge") - { - } + Params() {} }; LLOutboxFolderViewFolder(const Params& p); - ~LLOutboxFolderViewFolder(); - - void draw(); - - void setErrorString(const std::string& errorString); - void setError(S32 errorCode); - - bool hasError() const { return (mError != 0); } - -protected: - S32 mError; }; class LLOutboxFolderViewItem : public LLFolderViewItem { public: - LLOutboxFolderViewItem(const Params& p) - : LLFolderViewItem(p) - { - } + LLOutboxFolderViewItem(const Params& p); // virtual BOOL handleDoubleClick(S32 x, S32 y, MASK mask); -- cgit v1.2.3 From 98f071aa6fc2961d9a86fa1d174c1f988a6ef8dc Mon Sep 17 00:00:00 2001 From: Leslie Linden Date: Wed, 11 Jan 2012 11:59:34 -0800 Subject: EXP-1790 FIX -- Hitting return on item in Merchant Outbox wears the object * Disabled the "openItem" function on outbox items to prevent default behavior when the return button is pressed. --- indra/newview/llpanelmarketplaceoutboxinventory.h | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview/llpanelmarketplaceoutboxinventory.h') diff --git a/indra/newview/llpanelmarketplaceoutboxinventory.h b/indra/newview/llpanelmarketplaceoutboxinventory.h index 167f371f0e..a6c522b7c2 100644 --- a/indra/newview/llpanelmarketplaceoutboxinventory.h +++ b/indra/newview/llpanelmarketplaceoutboxinventory.h @@ -71,6 +71,7 @@ public: // virtual BOOL handleDoubleClick(S32 x, S32 y, MASK mask); + void openItem(); }; -- cgit v1.2.3