From 07f076165f0cf3b64c7225cdafbbca72dc50f200 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 28 Aug 2013 19:58:23 +0200 Subject: [PATCH] Cleanup LLFloaterConversationPreview --- indra/newview/llfloaterconversationpreview.cpp | 5 ++--- indra/newview/llfloaterconversationpreview.h | 3 --- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/indra/newview/llfloaterconversationpreview.cpp b/indra/newview/llfloaterconversationpreview.cpp index fa24940f53..316bd1ed1e 100755 --- a/indra/newview/llfloaterconversationpreview.cpp +++ b/indra/newview/llfloaterconversationpreview.cpp @@ -87,8 +87,7 @@ BOOL LLFloaterConversationPreview::postBuild() file = "chat"; } // Remember used log file name - //mChatHistoryFileName = file; 3.6.4 check this, LL added this, we added below - mFileName = file; + mChatHistoryFileName = file; LLStringUtil::format_map_t args; args["[NAME]"] = name; std::string title = getString("Title", args); @@ -241,5 +240,5 @@ void LLFloaterConversationPreview::onMoreHistoryBtnClick() // Open chat history externally void (LLFloaterConversationPreview::onBtnOpenExternal()) { - gViewerWindow->getWindow()->openFile(LLLogChat::makeLogFileName(mFileName)); + gViewerWindow->getWindow()->openFile(LLLogChat::makeLogFileName(mChatHistoryFileName)); } diff --git a/indra/newview/llfloaterconversationpreview.h b/indra/newview/llfloaterconversationpreview.h index cd3ee8f5c0..a281af13de 100755 --- a/indra/newview/llfloaterconversationpreview.h +++ b/indra/newview/llfloaterconversationpreview.h @@ -69,9 +69,6 @@ private: std::string mCompleteName; std::string mChatHistoryFileName; bool mChatHistoryLoaded; // 3.6.4 check this, LL added this and line above, we added below - - // Remember used log file name - std::string mFileName; }; #endif /* LLFLOATERCONVERSATIONPREVIEW_H_ */