Commit 585f9a56 authored by Luis Javier Merino's avatar Luis Javier Merino Committed by Ahmad Samir
Browse files

Fix alpha channel of scrollbar colors

Commit 72d604c6 refactored some code
from TerminalDisplay into a new TerminalColor class, and in the process
lost an F on setAlphaF().

BUG: 437223
(cherry picked from commit 1cda384e)
parent c29e7348
......@@ -121,7 +121,7 @@ namespace Konsole
QColor buttonTextColor = m_colorTable[DEFAULT_FORE_COLOR];
QColor backgroundColor = m_colorTable[DEFAULT_BACK_COLOR];
backgroundColor.setAlpha(m_opacity);
backgroundColor.setAlphaF(m_opacity);
QColor buttonColor = backgroundColor.toHsv();
if (buttonColor.valueF() < 0.5) {
......
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