X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Fload%2Fxml%2FXmlFileLoader.java;h=4c4239d6b2081d2ca2799d6d38a6fe8136b659e1;hp=454149f2c35cd432761edde2c8d271c50d2b3b15;hb=649c5da6ee1bbc590699e11a92316ece2ea8512d;hpb=eebbb64b5d63f9eea43a0dff908c30361a376768 diff --git a/tim/prune/load/xml/XmlFileLoader.java b/tim/prune/load/xml/XmlFileLoader.java index 454149f..4c4239d 100644 --- a/tim/prune/load/xml/XmlFileLoader.java +++ b/tim/prune/load/xml/XmlFileLoader.java @@ -14,6 +14,7 @@ import tim.prune.App; import tim.prune.I18nManager; import tim.prune.data.Altitude; import tim.prune.data.SourceInfo; +import tim.prune.load.MediaLinkInfo; /** * Class for handling loading of Xml files, and passing the @@ -85,7 +86,8 @@ public class XmlFileLoader extends DefaultHandler implements Runnable SourceInfo sourceInfo = new SourceInfo(_file, (_handler instanceof GpxHandler?SourceInfo.FILE_TYPE.GPX:SourceInfo.FILE_TYPE.KML)); _app.informDataLoaded(_handler.getFieldArray(), _handler.getDataArray(), - Altitude.Format.METRES, sourceInfo, _handler.getTrackNameList(), _handler.getLinkArray()); + Altitude.Format.METRES, sourceInfo, _handler.getTrackNameList(), + new MediaLinkInfo(_handler.getLinkArray())); } } catch (Exception e)