File tree Expand file tree Collapse file tree 2 files changed +0
-23
lines changed
Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -174,15 +174,6 @@ class CRimcas {
174174
175175 RimcasAlertTypes getAlert (string callsign);
176176
177- void setCountdownDefinition (vector<int > data, vector<int > dataLVP)
178- {
179- CountdownDefinition = data;
180- std::sort (CountdownDefinition.begin (), CountdownDefinition.end (), std::greater<int >());
181-
182- CountdownDefinitionLVP = dataLVP;
183- std::sort (CountdownDefinitionLVP.begin (), CountdownDefinitionLVP.end (), std::greater<int >());
184- }
185-
186177 void ToggleClosedRunway (string name) {
187178 for (auto &runway : Runways) {
188179 if (runway.name == name) {
Original file line number Diff line number Diff line change @@ -195,20 +195,6 @@ void CSMRRadar::LoadProfile(string profileName)
195195 // Loading the new profile
196196 CurrentConfig->setActiveProfile (profileName);
197197
198- // Loading all the new data
199- const Value &RimcasTimer = CurrentConfig->getActiveProfile ()[" rimcas" ][" timer" ];
200- const Value &RimcasTimerLVP = CurrentConfig->getActiveProfile ()[" rimcas" ][" timer_lvp" ];
201-
202- vector<int > RimcasNorm;
203- for (SizeType i = 0 ; i < RimcasTimer.Size (); i++) {
204- RimcasNorm.push_back (RimcasTimer[i].GetInt ());
205- }
206-
207- vector<int > RimcasLVP;
208- for (SizeType i = 0 ; i < RimcasTimerLVP.Size (); i++) {
209- RimcasLVP.push_back (RimcasTimerLVP[i].GetInt ());
210- }
211- RimcasInstance->setCountdownDefinition (RimcasNorm, RimcasLVP);
212198 LeaderLineDefaultlenght = CurrentConfig->getActiveProfile ()[" labels" ][" leader_line_length" ].GetInt ();
213199
214200 // Reloading the fonts
You can’t perform that action at this time.
0 commit comments