]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/function/gpsies/UploadGpsiesFunction.java
Version 18.5, July 2016
[GpsPrune.git] / tim / prune / function / gpsies / UploadGpsiesFunction.java
index 9a4ae30b7d4aa3d5c2506dd5c496d86a2485fad3..3cef9dbddde8677a29b1f960be7f13fb7f261219 100644 (file)
@@ -39,6 +39,7 @@ import tim.prune.I18nManager;
 import tim.prune.function.browser.BrowserLauncher;
 import tim.prune.gui.GuiGridLayout;
 import tim.prune.save.GpxExporter;
 import tim.prune.function.browser.BrowserLauncher;
 import tim.prune.gui.GuiGridLayout;
 import tim.prune.save.GpxExporter;
+import tim.prune.save.SettingsForExport;
 
 /**
  * Function to upload track information up to Gpsies.com
 
 /**
  * Function to upload track information up to Gpsies.com
@@ -279,9 +280,9 @@ public class UploadGpsiesFunction extends GenericFunction
                        _writer = new OutputStreamWriter(oStream);
                        new Thread(new Runnable() {
                                public void run() {
                        _writer = new OutputStreamWriter(oStream);
                        new Thread(new Runnable() {
                                public void run() {
-                                       boolean[] saveFlags = {true, true, true, true, false, true}; // export everything
                                        try {
                                        try {
-                                               GpxExporter.exportData(_writer, _app.getTrackInfo(), _nameField.getText(), null, saveFlags, null);
+                                               GpxExporter.exportData(_writer, _app.getTrackInfo(), _nameField.getText(),
+                                                       null, new SettingsForExport(), null);
                                        } catch (IOException e) {}
                                        finally {
                                                try {_writer.close();} catch (IOException e) {}
                                        } catch (IOException e) {}
                                        finally {
                                                try {_writer.close();} catch (IOException e) {}