From 2ac58deda1fc63cb416fa791a8da848805422ec1 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sat, 26 Oct 2019 02:54:40 +0200 Subject: [PATCH] [AFV] Ref T739, correct tabs for cockpit info area --- src/blackgui/components/cockpitinfoareacomponent.cpp | 7 ++++--- src/blackgui/components/cockpitinfoareacomponent.h | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/blackgui/components/cockpitinfoareacomponent.cpp b/src/blackgui/components/cockpitinfoareacomponent.cpp index 5ed4717a1..15a99f50c 100644 --- a/src/blackgui/components/cockpitinfoareacomponent.cpp +++ b/src/blackgui/components/cockpitinfoareacomponent.cpp @@ -44,9 +44,10 @@ namespace BlackGui InfoArea area = static_cast(areaIndex); switch (area) { - case InfoAreaAudio: return CIcons::appAudio16(); - case InfoAreaVoiceRooms: return CIcons::appVoiceRooms16(); - default: return CIcons::empty(); + case InfoAreaAudio: return CIcons::appAudio16(); + case InfoAreaNotifications: return CIcons::appVoiceRooms16(); + case InfoAreaAdvanced: return CIcons::appSettings16(); + default: return CIcons::empty(); } } diff --git a/src/blackgui/components/cockpitinfoareacomponent.h b/src/blackgui/components/cockpitinfoareacomponent.h index 368530266..339400df5 100644 --- a/src/blackgui/components/cockpitinfoareacomponent.h +++ b/src/blackgui/components/cockpitinfoareacomponent.h @@ -43,9 +43,10 @@ namespace BlackGui enum InfoArea { // index must match tab index! - InfoAreaVoiceRooms = 0, - InfoAreaAudio = 1, - InfoAreaNone = -1 + InfoAreaNotifications = 0, + InfoAreaAudio = 1, + InfoAreaAdvanced = 2, + InfoAreaNone = -1 }; public slots: