From 81e509610b0bd934bb1251709d29e4de83fe5577 Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Mon, 4 Jan 2010 01:51:36 +0100 Subject: [PATCH] Better search icon --- src/searchlineedit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/searchlineedit.cpp b/src/searchlineedit.cpp index 2e5dc6d..332bb1c 100644 --- a/src/searchlineedit.cpp +++ b/src/searchlineedit.cpp @@ -131,14 +131,14 @@ void SearchButton::paintEvent(QPaintEvent *event) QRect circle(height() / 5.5, height() / 3.5, radius, radius); myPath.addEllipse(circle); - myPath.arcMoveTo(circle, 300); + myPath.arcMoveTo(circle, 315); QPointF c = myPath.currentPosition(); int diff = height() / 6; myPath.lineTo(qMin(width() - 2, (int)c.x() + diff), c.y() + diff); QPainter painter(this); painter.setRenderHint(QPainter::Antialiasing, true); - painter.setPen(QPen(Qt::darkGray, 2)); + painter.setPen(QPen(Qt::darkGray, height() / 10)); painter.drawPath(myPath); if (m_menu) { -- 2.39.5