diff --git a/src/blackgui/components/mainkeypadareacomponent.cpp b/src/blackgui/components/mainkeypadareacomponent.cpp index 699a42b8c..45bcef65b 100644 --- a/src/blackgui/components/mainkeypadareacomponent.cpp +++ b/src/blackgui/components/mainkeypadareacomponent.cpp @@ -89,7 +89,7 @@ namespace BlackGui } } - foreach (int floatingIndex, floatingIndexes) + for (int floatingIndex : floatingIndexes) { QPushButton *pb = this->mainInfoAreaToButton(static_cast(floatingIndex)); if (pb) { pb->setChecked(true); } diff --git a/src/blackgui/components/mainkeypadareacomponent.ui b/src/blackgui/components/mainkeypadareacomponent.ui index dfa8e710c..87d18f87d 100644 --- a/src/blackgui/components/mainkeypadareacomponent.ui +++ b/src/blackgui/components/mainkeypadareacomponent.ui @@ -67,6 +67,12 @@ false + + + 0 + 0 + + @@ -80,14 +86,11 @@ 0 - - - 16777215 - 16777215 - + + Flight plan - Flightplan + Flight pl. true @@ -102,12 +105,6 @@ 0 - - - 16777215 - 16777215 - - Log @@ -118,6 +115,12 @@ + + + 0 + 0 + + Audio @@ -128,6 +131,12 @@ false + + + 0 + 0 + + @@ -141,12 +150,6 @@ 0 - - - 16777215 - 16777215 - - Models @@ -163,12 +166,6 @@ 0 - - - 16777215 - 16777215 - - Cockpit @@ -185,12 +182,6 @@ 0 - - - 16777215 - 16777215 - - Text/Chat @@ -207,12 +198,6 @@ 0 - - - 16777215 - 16777215 - - Connect @@ -226,12 +211,6 @@ 0 - - - 16777215 - 16777215 - - Aircraft @@ -248,12 +227,6 @@ 0 - - - 16777215 - 16777215 - - ATC @@ -279,12 +252,6 @@ 22 - - - 16777215 - 16777215 - - 100% @@ -298,12 +265,6 @@ 0 - - - 16777215 - 16777215 - - Weather @@ -314,11 +275,11 @@ - - - 16777215 - 16777215 - + + + 0 + 0 + Simulator @@ -330,11 +291,11 @@ - - - 16777215 - 16777215 - + + + 0 + 0 + Users @@ -346,18 +307,15 @@ - - - 16777215 - 16777215 - + + + 0 + 0 + Ident - - true - @@ -374,12 +332,6 @@ 22 - - - 16777215 - 16777215 - - 50% @@ -387,11 +339,11 @@ - - - 16777215 - 16777215 - + + + 0 + 0 + Maximum volume @@ -403,18 +355,15 @@ - - - 16777215 - 16777215 - + + + 0 + 0 + Mute - - true - @@ -425,12 +374,6 @@ 0 - - - 16777215 - 16777215 - - Qt::LeftToRight