changeset 30710:23093b480b1a stable

change led color for profiler in GUI * led-indicator.cc (set_state): use dark gray and red for inactive and active led resp.
author Torsten Lilge <ttl-octave@mailbox.org>
date Sat, 05 Feb 2022 13:54:02 +0100
parents 17a558588b8f
children 7fe4b83eb425
files libgui/src/led-indicator.cc
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/led-indicator.cc	Thu Feb 03 17:45:53 2022 -0800
+++ b/libgui/src/led-indicator.cc	Sat Feb 05 13:54:02 2022 +0100
@@ -52,11 +52,12 @@
         break;
 
       case LED_STATE_INACTIVE:
-        col = QColor (Qt::darkRed);
+        col = QColor (Qt::darkGray);
+        col.setRedF (col.redF () * 1.25);
         break;
 
       case LED_STATE_ACTIVE:
-        col = QColor (Qt::darkGreen);
+        col = QColor (Qt::red);
         break;
       }