Initialize colors with default black

This commit is contained in:
Vogel, Rick 2023-07-10 13:39:54 +02:00
parent 3fee4907c0
commit ad24230b9b
1 changed files with 1 additions and 1 deletions

View File

@ -1587,7 +1587,7 @@ void Editor::setupTextInputColors(
for( const auto state : { A::NoState, Q::Hovered, Q::Focused, Q::Editing, Q::Disabled } )
{
QRgb panelColor, borderColor1, borderColor2, textColor;
QRgb panelColor = Qt::black, borderColor1 = Qt::black, borderColor2 = Qt::black, textColor = Qt::black;
if ( state == A::NoState )
{