From 15998c6b253f0d142c0b532d5d7fb789bd834118 Mon Sep 17 00:00:00 2001 From: mmtalaie Date: Wed, 12 Jun 2024 13:33:57 +0330 Subject: [PATCH] Remove commneted codes --- logic/src/viewModel/MainViewModel.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/logic/src/viewModel/MainViewModel.cpp b/logic/src/viewModel/MainViewModel.cpp index 176d63a..aa0bd9e 100644 --- a/logic/src/viewModel/MainViewModel.cpp +++ b/logic/src/viewModel/MainViewModel.cpp @@ -52,33 +52,6 @@ MainViewModel::MainViewModel(QObject* parent) : ViewModel(parent) panel->selectedProbe4 = currentSelectedProbe4(); }); - //Enable and disable changes in probe selection box -//connect(panel, &Console::changeProbeSelectionEnable1, [ = ]() -//{ -//this->isProbeSelectionEnable1(!this->isProbeSelectionEnable1()); -////this->slot1Led(this->isProbeSelectionEnable1() ? LED_COLOR_WHITE : LED_COLOR_GREEN); -//}); - -//connect(panel, &Console::changeProbeSelectionEnable2, [ = ]() -//{ -//this->isProbeSelectionEnable2(!this->isProbeSelectionEnable2()); -////this->slot2Led(this->isProbeSelectionEnable2() ? LED_COLOR_WHITE : LED_COLOR_GREEN); -//}); - -//connect(panel, &Console::changeProbeSelectionEnable3, [ = ]() -//{ -//this->isProbeSelectionEnable3(!this->isProbeSelectionEnable3()); -////this->slot3Led(this->isProbeSelectionEnable3() ? LED_COLOR_WHITE : LED_COLOR_GREEN); -//}); - -//connect(panel, &Console::changeProbeSelectionEnable4, [ = ]() -//{ -//this->isProbeSelectionEnable4(!this->isProbeSelectionEnable4()); -////this->slot4Led(this->isProbeSelectionEnable4() ? LED_COLOR_WHITE : LED_COLOR_GREEN); -//}); - -//connect(this, ); - CONNECT_PROBE_SELECTION(1) CONNECT_PROBE_SELECTION(2) CONNECT_PROBE_SELECTION(3)