summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2013-06-25 23:19:53 +0100
committerCho <cho@lindenlab.com>2013-06-25 23:19:53 +0100
commitb497b121ed2d8964160ee79003debb9f5ab62a49 (patch)
treec9dc68ae7b7ff98ee73fb16d3d713dbb7cd96d61 /indra/newview
parente92e5a3d5337204c10a8417bb0ad480d591b4b90 (diff)
used default SL logo for image-less checkins for ACME-613
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloatersocial.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloatersocial.cpp b/indra/newview/llfloatersocial.cpp
index 9b27024eed..b3c0481968 100644
--- a/indra/newview/llfloatersocial.cpp
+++ b/indra/newview/llfloatersocial.cpp
@@ -43,6 +43,7 @@ static LLRegisterPanelClassWrapper<LLSocialPhotoPanel> t_panel_photo("llsocialph
static LLRegisterPanelClassWrapper<LLSocialCheckinPanel> t_panel_checkin("llsocialcheckinpanel");
const S32 MAX_POSTCARD_DATASIZE = 1024 * 1024; // one megabyte
+const std::string DEFAULT_CHECKIN_ICON_URL = "http://logok.org/wp-content/uploads/2010/07/podcastlogo1.jpg";
std::string get_map_url()
{
@@ -411,7 +412,7 @@ void LLSocialCheckinPanel::onSend()
// Optionally add the region map view
bool add_map_view = getChild<LLUICtrl>("add_place_view_cb")->getValue().asBoolean();
- std::string map_url = (add_map_view ? get_map_url() : "");
+ std::string map_url = (add_map_view ? get_map_url() : DEFAULT_CHECKIN_ICON_URL);
// Get the caption
std::string caption = getChild<LLUICtrl>("place_caption")->getValue().asString();