diff options
author | Rider Linden <rider@lindenlab.com> | 2016-09-16 14:59:52 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2016-09-16 14:59:52 -0700 |
commit | 100aa4b79e5ef1aa7ea49fd5ca9a78fa5dfd713c (patch) | |
tree | a565f3f725e45419b24458b0d819b75cf77018ff /indra/newview/llpanelsnapshotprofile.cpp | |
parent | 884b03e8770a64aee22281518a5f3e2a7c0420ab (diff) | |
parent | 51bb369a39142ff5049f753099f9638ce68b95dc (diff) |
Merge
Diffstat (limited to 'indra/newview/llpanelsnapshotprofile.cpp')
-rw-r--r-- | indra/newview/llpanelsnapshotprofile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpanelsnapshotprofile.cpp b/indra/newview/llpanelsnapshotprofile.cpp index 8949eb73eb..38dec78030 100644 --- a/indra/newview/llpanelsnapshotprofile.cpp +++ b/indra/newview/llpanelsnapshotprofile.cpp @@ -58,7 +58,7 @@ private: /*virtual*/ std::string getAspectRatioCBName() const { return "profile_keep_aspect_check"; } /*virtual*/ std::string getImageSizeComboName() const { return "profile_size_combo"; } /*virtual*/ std::string getImageSizePanelName() const { return "profile_image_size_lp"; } - /*virtual*/ LLFloaterSnapshot::ESnapshotFormat getImageFormat() const { return LLFloaterSnapshot::SNAPSHOT_FORMAT_PNG; } + /*virtual*/ LLSnapshotModel::ESnapshotFormat getImageFormat() const { return LLSnapshotModel::SNAPSHOT_FORMAT_PNG; } /*virtual*/ void updateControls(const LLSD& info); void onSend(); @@ -96,6 +96,6 @@ void LLPanelSnapshotProfile::onSend() std::string caption = getChild<LLUICtrl>("caption")->getValue().asString(); bool add_location = getChild<LLUICtrl>("add_location_cb")->getValue().asBoolean(); - LLWebProfile::uploadImage(LLFloaterSnapshot::getImageData(), caption, add_location); - LLFloaterSnapshot::postSave(); + LLWebProfile::uploadImage(mSnapshotFloater->getImageData(), caption, add_location); + mSnapshotFloater->postSave(); } |