mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:03:11 +08:00
Remove unused argument
This commit is contained in:
parent
1cd96b8002
commit
586d5791e0
@ -2,7 +2,6 @@
|
|||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using osu.Game.Tournament.Screens;
|
using osu.Game.Tournament.Screens;
|
||||||
using osu.Framework.Platform;
|
|
||||||
|
|
||||||
namespace osu.Game.Tournament.Tests.Screens
|
namespace osu.Game.Tournament.Tests.Screens
|
||||||
{
|
{
|
||||||
@ -15,7 +14,7 @@ namespace osu.Game.Tournament.Tests.Screens
|
|||||||
|
|
||||||
private class StablePathSelectTestScreen : StablePathSelectScreen
|
private class StablePathSelectTestScreen : StablePathSelectScreen
|
||||||
{
|
{
|
||||||
protected override void ChangePath(Storage storage)
|
protected override void ChangePath()
|
||||||
{
|
{
|
||||||
Expire();
|
Expire();
|
||||||
}
|
}
|
||||||
|
@ -108,7 +108,7 @@ namespace osu.Game.Tournament.Screens
|
|||||||
Origin = Anchor.Centre,
|
Origin = Anchor.Centre,
|
||||||
Width = 300,
|
Width = 300,
|
||||||
Text = "Select stable path",
|
Text = "Select stable path",
|
||||||
Action = () => ChangePath(storage)
|
Action = ChangePath
|
||||||
},
|
},
|
||||||
new TriangleButton
|
new TriangleButton
|
||||||
{
|
{
|
||||||
@ -135,7 +135,7 @@ namespace osu.Game.Tournament.Screens
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void ChangePath(Storage storage)
|
protected virtual void ChangePath()
|
||||||
{
|
{
|
||||||
var target = directorySelector.CurrentDirectory.Value.FullName;
|
var target = directorySelector.CurrentDirectory.Value.FullName;
|
||||||
var fileBasedIpc = ipc as FileBasedIPC;
|
var fileBasedIpc = ipc as FileBasedIPC;
|
||||||
|
Loading…
Reference in New Issue
Block a user