From: Flavio Tordini Date: Mon, 4 Jan 2010 00:51:36 +0000 (+0100) Subject: Better search icon X-Git-Tag: 0.9~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=81e509610b0bd934bb1251709d29e4de83fe5577;p=minitube Better search icon --- 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) {