Remove Unused Settings

This removes unused settings related to CrashDialog
This commit is contained in:
steelphase
2014-10-18 19:30:28 -04:00
committed by Matthias Mailänder
parent 307eaecc9e
commit c0e7718fd5
4 changed files with 14 additions and 33 deletions

View File

@@ -72,9 +72,6 @@ namespace OpenRA
public bool SanityCheckUnsyncedCode = false; public bool SanityCheckUnsyncedCode = false;
public int Samples = 25; public int Samples = 25;
public bool IgnoreVersionMismatch = false; public bool IgnoreVersionMismatch = false;
public bool ShowFatalErrorDialog = true;
public string FatalErrorDialogFaq = "http://wiki.openra.net/FAQ";
} }
public class GraphicSettings public class GraphicSettings

View File

@@ -466,7 +466,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
BindCheckboxPref(panel, "PERFGRAPH_CHECKBOX", ds, "PerfGraph"); BindCheckboxPref(panel, "PERFGRAPH_CHECKBOX", ds, "PerfGraph");
BindCheckboxPref(panel, "CHECKUNSYNCED_CHECKBOX", ds, "SanityCheckUnsyncedCode"); BindCheckboxPref(panel, "CHECKUNSYNCED_CHECKBOX", ds, "SanityCheckUnsyncedCode");
BindCheckboxPref(panel, "BOTDEBUG_CHECKBOX", ds, "BotDebug"); BindCheckboxPref(panel, "BOTDEBUG_CHECKBOX", ds, "BotDebug");
BindCheckboxPref(panel, "CRASH_DIALOG_CHECKBOX", ds, "ShowFatalErrorDialog");
BindCheckboxPref(panel, "FETCH_NEWS_CHECKBOX", gs, "FetchNews"); BindCheckboxPref(panel, "FETCH_NEWS_CHECKBOX", gs, "FetchNews");
return () => { }; return () => { };
@@ -487,7 +486,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
ds.PerfGraph = dds.PerfGraph; ds.PerfGraph = dds.PerfGraph;
ds.SanityCheckUnsyncedCode = dds.SanityCheckUnsyncedCode; ds.SanityCheckUnsyncedCode = dds.SanityCheckUnsyncedCode;
ds.BotDebug = dds.BotDebug; ds.BotDebug = dds.BotDebug;
ds.ShowFatalErrorDialog = dds.ShowFatalErrorDialog;
}; };
} }

View File

@@ -437,13 +437,6 @@ Container@SETTINGS_PANEL:
Height: 20 Height: 20
Font: Regular Font: Regular
Text: Enable Network Discovery (UPnP) Text: Enable Network Discovery (UPnP)
Checkbox@CRASH_DIALOG_CHECKBOX:
X: 310
Y: 40
Width: 300
Height: 20
Font: Regular
Text: Show Fatal Error dialog
Checkbox@PERFTEXT_CHECKBOX: Checkbox@PERFTEXT_CHECKBOX:
X: 15 X: 15
Y: 70 Y: 70
@@ -451,6 +444,13 @@ Container@SETTINGS_PANEL:
Height: 20 Height: 20
Font: Regular Font: Regular
Text: Show Performance Text Text: Show Performance Text
Checkbox@FETCH_NEWS_CHECKBOX:
X: 310
Y: 40
Width: 300
Height: 20
Font: Regular
Text: Fetch Community News
Checkbox@PERFGRAPH_CHECKBOX: Checkbox@PERFGRAPH_CHECKBOX:
X: 310 X: 310
Y: 70 Y: 70
@@ -458,13 +458,6 @@ Container@SETTINGS_PANEL:
Height: 20 Height: 20
Font: Regular Font: Regular
Text: Show Performance Graph Text: Show Performance Graph
Checkbox@FETCH_NEWS_CHECKBOX:
X: 15
Y: 100
Width: 300
Height: 20
Font: Regular
Text: Fetch Community News
Label@DEBUG_TITLE: Label@DEBUG_TITLE:
Y: 140 Y: 140
Width: PARENT_RIGHT Width: PARENT_RIGHT

View File

@@ -438,13 +438,6 @@ Background@SETTINGS_PANEL:
Height: 20 Height: 20
Font: Regular Font: Regular
Text: Enable Network Discovery (UPnP) Text: Enable Network Discovery (UPnP)
Checkbox@CRASH_DIALOG_CHECKBOX:
X: 310
Y: 40
Width: 300
Height: 20
Font: Regular
Text: Show Fatal Error dialog
Checkbox@PERFTEXT_CHECKBOX: Checkbox@PERFTEXT_CHECKBOX:
X: 15 X: 15
Y: 70 Y: 70
@@ -452,6 +445,13 @@ Background@SETTINGS_PANEL:
Height: 20 Height: 20
Font: Regular Font: Regular
Text: Show Performance Text Text: Show Performance Text
Checkbox@FETCH_NEWS_CHECKBOX:
X: 310
Y: 40
Width: 300
Height: 20
Font: Regular
Text: Fetch Community News
Checkbox@PERFGRAPH_CHECKBOX: Checkbox@PERFGRAPH_CHECKBOX:
X: 310 X: 310
Y: 70 Y: 70
@@ -459,13 +459,6 @@ Background@SETTINGS_PANEL:
Height: 20 Height: 20
Font: Regular Font: Regular
Text: Show Performance Graph Text: Show Performance Graph
Checkbox@FETCH_NEWS_CHECKBOX:
X: 15
Y: 100
Width: 300
Height: 20
Font: Regular
Text: Fetch Community News
Label@DEBUG_TITLE: Label@DEBUG_TITLE:
Y: 140 Y: 140
Width: PARENT_RIGHT Width: PARENT_RIGHT