summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmarketplaceoutbox.cpp
diff options
context:
space:
mode:
authorLeslie Linden <leslie@lindenlab.com>2011-12-05 14:23:49 -0800
committerLeslie Linden <leslie@lindenlab.com>2011-12-05 14:23:49 -0800
commit3236cbd585860f76a14c4837c70cb5823a4fd7d5 (patch)
treed4ed0961594201d85e4f5dd9de8a34b892c9d1c1 /indra/newview/llpanelmarketplaceoutbox.cpp
parent591891306366e683416b187207fa2b94bdc263a8 (diff)
Windows build fix
Diffstat (limited to 'indra/newview/llpanelmarketplaceoutbox.cpp')
-rw-r--r--indra/newview/llpanelmarketplaceoutbox.cpp89
1 files changed, 43 insertions, 46 deletions
diff --git a/indra/newview/llpanelmarketplaceoutbox.cpp b/indra/newview/llpanelmarketplaceoutbox.cpp
index 3c8817c199..6a2bf58701 100644
--- a/indra/newview/llpanelmarketplaceoutbox.cpp
+++ b/indra/newview/llpanelmarketplaceoutbox.cpp
@@ -303,53 +303,50 @@ void LLPanelMarketplaceOutbox::onImportGetComplete(U32 status, const LLSD& conte
}
}
- return;
-
-
-
- const LLSD& errors_list = content["errors"];
-
- if (errors_list.size() == 0)
- {
- LLNotificationsUtil::add("OutboxUploadComplete", LLSD::emptyMap(), LLSD::emptyMap());
- }
- else
- {
- LLNotificationsUtil::add("OutboxUploadHadErrors", LLSD::emptyMap(), LLSD::emptyMap());
- }
-
- llinfos << "Marketplace upload llsd:" << llendl;
- llinfos << ll_pretty_print_sd(content) << llendl;
- llinfos << llendl;
- const LLSD& imported_list = content["imported"];
- LLSD::array_const_iterator it = imported_list.beginArray();
- for ( ; it != imported_list.endArray(); ++it)
- {
- LLUUID imported_folder = (*it).asUUID();
- llinfos << "Successfully uploaded folder " << imported_folder.asString() << " to marketplace." << llendl;
- }
-
- for (it = errors_list.beginArray(); it != errors_list.endArray(); ++it)
- {
- const LLSD& item_error_map = (*it);
-
- LLUUID error_folder = item_error_map["folder_id"].asUUID();
- const std::string& error_string = item_error_map["identifier"].asString();
- LLUUID error_item = item_error_map["item_id"].asUUID();
- const std::string& error_item_name = item_error_map["item_name"].asString();
- const std::string& error_message = item_error_map["message"].asString();
-
- llinfos << "Error item " << error_folder.asString() << ", " << error_string << ", "
- << error_item.asString() << ", " << error_item_name << ", " << error_message << llendl;
-
- LLFolderViewFolder * item_folder = mInventoryPanel->getRootFolder()->getFolderByID(error_folder);
- LLOutboxFolderViewFolder * outbox_item_folder = dynamic_cast<LLOutboxFolderViewFolder *>(item_folder);
-
- llassert(outbox_item_folder);
-
- outbox_item_folder->setErrorString(error_string);
- }
+ //const LLSD& errors_list = content["errors"];
+
+ //if (errors_list.size() == 0)
+ //{
+ // LLNotificationsUtil::add("OutboxUploadComplete", LLSD::emptyMap(), LLSD::emptyMap());
+ //}
+ //else
+ //{
+ // LLNotificationsUtil::add("OutboxUploadHadErrors", LLSD::emptyMap(), LLSD::emptyMap());
+ //}
+
+ //llinfos << "Marketplace upload llsd:" << llendl;
+ //llinfos << ll_pretty_print_sd(content) << llendl;
+ //llinfos << llendl;
+
+ //const LLSD& imported_list = content["imported"];
+ //LLSD::array_const_iterator it = imported_list.beginArray();
+ //for ( ; it != imported_list.endArray(); ++it)
+ //{
+ // LLUUID imported_folder = (*it).asUUID();
+ // llinfos << "Successfully uploaded folder " << imported_folder.asString() << " to marketplace." << llendl;
+ //}
+
+ //for (it = errors_list.beginArray(); it != errors_list.endArray(); ++it)
+ //{
+ // const LLSD& item_error_map = (*it);
+
+ // LLUUID error_folder = item_error_map["folder_id"].asUUID();
+ // const std::string& error_string = item_error_map["identifier"].asString();
+ // LLUUID error_item = item_error_map["item_id"].asUUID();
+ // const std::string& error_item_name = item_error_map["item_name"].asString();
+ // const std::string& error_message = item_error_map["message"].asString();
+
+ // llinfos << "Error item " << error_folder.asString() << ", " << error_string << ", "
+ // << error_item.asString() << ", " << error_item_name << ", " << error_message << llendl;
+ //
+ // LLFolderViewFolder * item_folder = mInventoryPanel->getRootFolder()->getFolderByID(error_folder);
+ // LLOutboxFolderViewFolder * outbox_item_folder = dynamic_cast<LLOutboxFolderViewFolder *>(item_folder);
+
+ // llassert(outbox_item_folder);
+
+ // outbox_item_folder->setErrorString(error_string);
+ //}
}
void LLPanelMarketplaceOutbox::updateImportButtonStatus()