Skip to content

Commit 9346334

Browse files
committed
ModAPI.Common: remove unused function in PathDialogs.cs
1 parent 7805f68 commit 9346334

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

ModAPI.Common/PathDialogs.cs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -167,28 +167,6 @@ private static string ShowSporeChooserDialog()
167167

168168
return path;
169169
}
170-
171-
private static string ShowSteamChooserDialog()
172-
{
173-
string path = null;
174-
Thread thread = new Thread(() =>
175-
{
176-
var dialog = new FolderBrowserDialog();
177-
if (dialog.ShowDialog() == DialogResult.OK)
178-
{
179-
path = dialog.SelectedPath;
180-
// move the path to the folder that contains Steam.exe (just in case)
181-
path = SporePath.MoveToSteam(path);
182-
LauncherSettings.SteamPath = path;
183-
LauncherSettings.Save();
184-
}
185-
});
186-
thread.SetApartmentState(ApartmentState.STA);
187-
thread.Start();
188-
thread.Join();
189-
190-
return path;
191-
}
192170
}
193171

194172
}

0 commit comments

Comments
 (0)