Commit 32d0be4f authored by Andrés G. Aragoneses's avatar Andrés G. Aragoneses

Mtp: removed unused parameter in AbstractTrackList ctor

We take this opportunity to convert the ctor to protected, as there's
not much sense for it to be public given that the class is abstract.
parent ff12dea2
......@@ -55,7 +55,7 @@ namespace Mtp
get { return track_ids; }
}
public AbstractTrackList (MtpDevice device, string name)
protected AbstractTrackList (MtpDevice device)
{
this.device = device;
track_ids = new List<uint> ();
......
......@@ -92,7 +92,7 @@ namespace Mtp
set { album.tracks = value; }
}
public Album (MtpDevice device, string name, string artist, string genre, string composer) : base (device, name)
public Album (MtpDevice device, string name, string artist, string genre, string composer) : base (device)
{
Name = name;
Artist = artist;
......
......@@ -67,7 +67,7 @@ namespace Mtp
set { playlist.tracks = value; }
}
public Playlist (MtpDevice device, string name) : base (device, name)
public Playlist (MtpDevice device, string name) : base (device)
{
this.playlist = new PlaylistStruct ();
Name = name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment