Commit fc14f277 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Fix implicit conversion increases floating-point precision

parent 9bc892ef
......@@ -129,7 +129,7 @@ void TerminalHeaderBar::paintEvent(QPaintEvent *paintEvent)
if (!m_terminalIsFocused) {
auto p = qApp->palette();
auto shadowColor = p.color(QPalette::ColorRole::Shadow);
shadowColor.setAlphaF( 0.2f * shadowColor.alphaF() ); // same as breeze.
shadowColor.setAlphaF( qreal(0.2) * shadowColor.alphaF() ); // same as breeze.
QPainter painter(this);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment