From 6adfff1f13407ce4c7a74de2d009cb26f74d7311 Mon Sep 17 00:00:00 2001 From: Michael Schuster Date: Thu, 19 Dec 2019 19:30:35 +0100 Subject: [PATCH] Add new Theme helper method to custom-colourize links Signed-off-by: Michael Schuster --- src/libsync/theme.cpp | 7 ++++++- src/libsync/theme.h | 9 +++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/libsync/theme.cpp b/src/libsync/theme.cpp index ae9d9c958..8b2b15e5c 100644 --- a/src/libsync/theme.cpp +++ b/src/libsync/theme.cpp @@ -584,7 +584,7 @@ QColor Theme::getBackgroundAwareLinkColor() void Theme::replaceLinkColorStringBackgroundAware(QString &linkString, const QColor &backgroundColor) { - linkString.replace(QRegularExpression("(