diff --git a/src/widgets/standardsystembutton.cpp b/src/widgets/standardsystembutton.cpp index 73e8205..fd0d5fd 100644 --- a/src/widgets/standardsystembutton.cpp +++ b/src/widgets/standardsystembutton.cpp @@ -327,6 +327,9 @@ void StandardSystemButton::paintEvent(QPaintEvent *event) if (!underMouse() && !d->active && d->inactiveForegroundColor.isValid()) { return d->inactiveForegroundColor; } + if (d->buttonType == SystemButtonType::Close && underMouse()) { + return kDefaultWhiteColor; + } if (d->activeForegroundColor.isValid()) { return d->activeForegroundColor; }