[chronojump] Removed sending app1 to Run/RunI execute classes



commit ba5d9299e256df53b8f88e678406d2b44a38ca6c
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Jul 2 15:43:38 2021 +0200

    Removed sending app1 to Run/RunI execute classes

 src/execute/run.cs         | 6 ++++--
 src/gui/app1/chronojump.cs | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/execute/run.cs b/src/execute/run.cs
index 4fcafb8c8..bc50a8180 100644
--- a/src/execute/run.cs
+++ b/src/execute/run.cs
@@ -84,7 +84,8 @@ public class RunExecute : EventExecute
        //run execution
        //if wireless: string wirelessPort, wirelessBauds will be used instead of Chronopic cp
        public RunExecute(int personID, int sessionID, string type, double distance,   
-                       Chronopic cp, string wirelessPort, int wirelessBauds, Gtk.Window app,
+                       Chronopic cp,
+                       string wirelessPort, int wirelessBauds,
                        int pDN, bool metersSecondsPreferred,
                        bool volumeOn, Preferences.GstreamerTypes gstreamer,
                        double progressbarLimit, ExecutingGraphData egd,
@@ -901,7 +902,8 @@ public class RunIntervalExecute : RunExecute
 
        //run execution
        public RunIntervalExecute(int personID, int sessionID, string type, double distanceInterval, double 
limitAsDouble, bool tracksLimited,  
-                       Chronopic cp, string wirelessPort, int wirelessBauds, Gtk.Window app,
+                       Chronopic cp,
+                       string wirelessPort, int wirelessBauds,
                        int pDN, bool metersSecondsPreferred,
                        bool volumeOn, Preferences.GstreamerTypes gstreamer,
                        RepetitiveConditionsWindow repetitiveConditionsWin,
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 419ae6914..dbfbb3beb 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -4951,7 +4951,7 @@ public partial class ChronoJumpWindow
                currentEventExecute = new RunExecute(
                                currentPerson.UniqueID, currentSession.UniqueID, 
                                currentRunType.Name, myDistance, 
-                               cp2016.CP, wirelessPort, wirelessBauds, app1,
+                               cp2016.CP, wirelessPort, wirelessBauds,
                                preferences.digitsNumber, preferences.metersSecondsPreferred,
                                preferences.volumeOn, preferences.gstreamer,
                                progressbarLimit, egd,
@@ -5099,7 +5099,7 @@ public partial class ChronoJumpWindow
                currentEventExecute = new RunIntervalExecute(
                                currentPerson.UniqueID, currentSession.UniqueID, currentRunIntervalType.Name, 
                                distanceInterval, progressbarLimit, currentRunIntervalType.TracksLimited, 
-                               cp2016.CP, wirelessPort, wirelessBauds, app1,
+                               cp2016.CP, wirelessPort, wirelessBauds,
                                preferences.digitsNumber, preferences.metersSecondsPreferred,
                                preferences.volumeOn, preferences.gstreamer,
                                repetitiveConditionsWin,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]