Default legacy log launch to on, and limit it to platforms it works on(windows) at compile time.

This commit is contained in:
Inusaito Sayori
2013-11-26 04:49:37 -05:00
parent 7383b0a974
commit 4c1880acac
2 changed files with 3 additions and 1 deletions

View File

@@ -717,7 +717,7 @@
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<boolean>0</boolean>
<boolean>1</boolean>
</map>
<key>LiruLegacyOutfitStoreObjChanges</key>
<map>

View File

@@ -995,11 +995,13 @@ void LLFloaterIMPanel::onFlyoutCommit(LLComboBox* flyout, const LLSD& value)
void show_log_browser(const std::string& name, const std::string& id)
{
#if LL_WINDOWS // Singu TODO: Other platforms?
if (gSavedSettings.getBOOL("LiruLegacyLogLaunch"))
{
gViewerWindow->getWindow()->ShellEx("\"" + LLLogChat::makeLogFileName(name) + "\"");
return;
}
#endif
LLFloaterWebContent::Params p;
p.url("file:///" + LLLogChat::makeLogFileName(name));
p.id(id);