Cleanup LLFloaterConversationPreview

meow-7.2.2
Ansariel 2013-08-28 19:58:23 +02:00
parent c65e6fc286
commit 07f076165f
2 changed files with 2 additions and 6 deletions

View File

@ -87,8 +87,7 @@ BOOL LLFloaterConversationPreview::postBuild()
file = "chat";
}
// <FS:Ansariel> Remember used log file name
//mChatHistoryFileName = file; <FS:TM> 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()
// <FS:CR> Open chat history externally
void (LLFloaterConversationPreview::onBtnOpenExternal())
{
gViewerWindow->getWindow()->openFile(LLLogChat::makeLogFileName(mFileName));
gViewerWindow->getWindow()->openFile(LLLogChat::makeLogFileName(mChatHistoryFileName));
}

View File

@ -69,9 +69,6 @@ private:
std::string mCompleteName;
std::string mChatHistoryFileName;
bool mChatHistoryLoaded; //<FS:TM> 3.6.4 check this, LL added this and line above, we added below
// <FS:Ansariel> Remember used log file name
std::string mFileName;
};
#endif /* LLFLOATERCONVERSATIONPREVIEW_H_ */