equal
deleted
inserted
replaced
903 void RadioHsWidget::changePowerButtonOn(const bool isPowerOn) |
903 void RadioHsWidget::changePowerButtonOn(const bool isPowerOn) |
904 { |
904 { |
905 LEVEL2(LOG_METHOD); |
905 LEVEL2(LOG_METHOD); |
906 if (isPowerOn) { |
906 if (isPowerOn) { |
907 LEVEL2(LOG("Power on")); |
907 LEVEL2(LOG("Power on")); |
908 // TODO: Temporarily set the text to clarify the action it performs. |
|
909 // Remove when graphics displays the difference. |
|
910 mPowerButton->setText("Off"); |
|
911 buttonEvent(Power, Latched); |
908 buttonEvent(Power, Latched); |
912 } else { |
909 } else { |
913 LEVEL2(LOG("Power off")); |
910 LEVEL2(LOG("Power off")); |
914 // TODO: Temporarily set the text to clarify the action it performs. |
|
915 // Remove when graphics displays the difference. |
|
916 mPowerButton->setText("On"); |
|
917 buttonEvent(Power, Normal); |
911 buttonEvent(Power, Normal); |
918 } |
912 } |
919 } |
913 } |
920 |
914 |
921 /*! |
915 /*! |