Remove Unused Settings
This removes unused settings related to CrashDialog
This commit is contained in:
committed by
Matthias Mailänder
parent
307eaecc9e
commit
c0e7718fd5
@@ -72,9 +72,6 @@ namespace OpenRA
|
||||
public bool SanityCheckUnsyncedCode = false;
|
||||
public int Samples = 25;
|
||||
public bool IgnoreVersionMismatch = false;
|
||||
|
||||
public bool ShowFatalErrorDialog = true;
|
||||
public string FatalErrorDialogFaq = "http://wiki.openra.net/FAQ";
|
||||
}
|
||||
|
||||
public class GraphicSettings
|
||||
|
||||
@@ -466,7 +466,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
BindCheckboxPref(panel, "PERFGRAPH_CHECKBOX", ds, "PerfGraph");
|
||||
BindCheckboxPref(panel, "CHECKUNSYNCED_CHECKBOX", ds, "SanityCheckUnsyncedCode");
|
||||
BindCheckboxPref(panel, "BOTDEBUG_CHECKBOX", ds, "BotDebug");
|
||||
BindCheckboxPref(panel, "CRASH_DIALOG_CHECKBOX", ds, "ShowFatalErrorDialog");
|
||||
BindCheckboxPref(panel, "FETCH_NEWS_CHECKBOX", gs, "FetchNews");
|
||||
|
||||
return () => { };
|
||||
@@ -487,7 +486,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
ds.PerfGraph = dds.PerfGraph;
|
||||
ds.SanityCheckUnsyncedCode = dds.SanityCheckUnsyncedCode;
|
||||
ds.BotDebug = dds.BotDebug;
|
||||
ds.ShowFatalErrorDialog = dds.ShowFatalErrorDialog;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -437,13 +437,6 @@ Container@SETTINGS_PANEL:
|
||||
Height: 20
|
||||
Font: Regular
|
||||
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:
|
||||
X: 15
|
||||
Y: 70
|
||||
@@ -451,6 +444,13 @@ Container@SETTINGS_PANEL:
|
||||
Height: 20
|
||||
Font: Regular
|
||||
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:
|
||||
X: 310
|
||||
Y: 70
|
||||
@@ -458,13 +458,6 @@ Container@SETTINGS_PANEL:
|
||||
Height: 20
|
||||
Font: Regular
|
||||
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:
|
||||
Y: 140
|
||||
Width: PARENT_RIGHT
|
||||
|
||||
@@ -438,13 +438,6 @@ Background@SETTINGS_PANEL:
|
||||
Height: 20
|
||||
Font: Regular
|
||||
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:
|
||||
X: 15
|
||||
Y: 70
|
||||
@@ -452,6 +445,13 @@ Background@SETTINGS_PANEL:
|
||||
Height: 20
|
||||
Font: Regular
|
||||
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:
|
||||
X: 310
|
||||
Y: 70
|
||||
@@ -459,13 +459,6 @@ Background@SETTINGS_PANEL:
|
||||
Height: 20
|
||||
Font: Regular
|
||||
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:
|
||||
Y: 140
|
||||
Width: PARENT_RIGHT
|
||||
|
||||
Reference in New Issue
Block a user