From 520bee81d5a4ee8e53b13c9650f0c5dad001a57a Mon Sep 17 00:00:00 2001 From: xarkes Date: Mon, 2 Jul 2018 11:11:06 +0200 Subject: [PATCH] Fixed highlight color in xref dialog --- src/dialogs/XrefsDialog.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dialogs/XrefsDialog.cpp b/src/dialogs/XrefsDialog.cpp index 171fc6e5..c106f26c 100644 --- a/src/dialogs/XrefsDialog.cpp +++ b/src/dialogs/XrefsDialog.cpp @@ -119,9 +119,7 @@ void XrefsDialog::highlightCurrentLine() if (ui->previewTextEdit->isReadOnly()) { QTextEdit::ExtraSelection selection; - QColor lineColor = QColor(190, 144, 212); - - selection.format.setBackground(lineColor); + selection.format.setBackground(ConfigColor("highlight")); selection.format.setProperty(QTextFormat::FullWidthSelection, true); selection.cursor = ui->previewTextEdit->textCursor(); selection.cursor.clearSelection();