diff options
author | Wolfgang Müller | 2019-02-10 18:29:15 +0100 |
---|---|---|
committer | Wolfgang Müller | 2019-02-10 18:29:15 +0100 |
commit | a25b7c8da9414e9188d7feb7b280005e6e50ea13 (patch) | |
tree | 14584c0ed68a4783cc79ee94ee9932ea4a987664 /group-desktop/patches/net-irc | |
download | portage-roles-a25b7c8da9414e9188d7feb7b280005e6e50ea13.tar.gz |
Initial import
Diffstat (limited to 'group-desktop/patches/net-irc')
-rw-r--r-- | group-desktop/patches/net-irc/quassel/search_highlight.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/group-desktop/patches/net-irc/quassel/search_highlight.patch b/group-desktop/patches/net-irc/quassel/search_highlight.patch new file mode 100644 index 0000000..bf1d578 --- /dev/null +++ b/group-desktop/patches/net-irc/quassel/search_highlight.patch @@ -0,0 +1,17 @@ +diff --git a/src/qtui/chatviewsearchcontroller.cpp b/src/qtui/chatviewsearchcontroller.cpp +index 3877f9a2..f720d47e 100644 +--- a/src/qtui/chatviewsearchcontroller.cpp ++++ b/src/qtui/chatviewsearchcontroller.cpp +@@ -436,11 +436,8 @@ void SearchHighlightItem::paint(QPainter* painter, const QStyleOptionGraphicsIte + Q_UNUSED(option); + Q_UNUSED(widget); + +- painter->setPen(QPen(QColor(0, 0, 0), 1.5)); +- painter->setBrush(QColor(254, 237, 45, _alpha)); + painter->setRenderHints(QPainter::Antialiasing); +- qreal radius = boundingRect().height() * 0.30; +- painter->drawRoundedRect(boundingRect(), radius, radius); ++ painter->fillRect(boundingRect(), QColor(255,13,255, _alpha)); + } + + void SearchHighlightItem::updateGeometry(qreal width, qreal height) |