Commit 402c6cc7 authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Make sure alpha colors are respected

parent 45b950d7
......@@ -191,7 +191,7 @@ Results::Results(QWidget *parent)
pal.setColor(QPalette::Base, bg);
pal.setColor(QPalette::Highlight, hl);
pal.setColor(QPalette::Text, fg);
matchModel.setMatchColors(fg.name(), search.name(), replace.name());
matchModel.setMatchColors(fg.name(QColor::HexArgb), search.name(QColor::HexArgb), replace.name(QColor::HexArgb));
treeView->setPalette(pal);
emit colorsChanged();
......
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