Commit 1cda384e authored by Luis Javier Merino's avatar Luis Javier Merino
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
parent 8c24953b
...@@ -121,7 +121,7 @@ namespace Konsole ...@@ -121,7 +121,7 @@ namespace Konsole
QColor buttonTextColor = m_colorTable[DEFAULT_FORE_COLOR]; QColor buttonTextColor = m_colorTable[DEFAULT_FORE_COLOR];
QColor backgroundColor = m_colorTable[DEFAULT_BACK_COLOR]; QColor backgroundColor = m_colorTable[DEFAULT_BACK_COLOR];
backgroundColor.setAlpha(m_opacity); backgroundColor.setAlphaF(m_opacity);
QColor buttonColor = backgroundColor.toHsv(); QColor buttonColor = backgroundColor.toHsv();
if (buttonColor.valueF() < 0.5) { 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