SetURLBase on PresentationURL as well.

This commit is contained in:
John Beisley 2013-09-28 18:59:03 +01:00
parent c7f69f6a43
commit 58cc710720

View File

@ -54,6 +54,7 @@ type Device struct {
func (device *Device) SetURLBase(urlBase *url.URL) { func (device *Device) SetURLBase(urlBase *url.URL) {
device.ManufacturerURL.SetURLBase(urlBase) device.ManufacturerURL.SetURLBase(urlBase)
device.ModelURL.SetURLBase(urlBase) device.ModelURL.SetURLBase(urlBase)
device.PresentationURL.SetURLBase(urlBase)
for _, icon := range device.Icons { for _, icon := range device.Icons {
icon.SetURLBase(urlBase) icon.SetURLBase(urlBase)
} }