]> git.sur5r.net Git - minitube/commitdiff
Better search icon
authorFlavio Tordini <flavio.tordini@gmail.com>
Mon, 4 Jan 2010 00:51:36 +0000 (01:51 +0100)
committerFlavio Tordini <flavio.tordini@gmail.com>
Mon, 4 Jan 2010 00:51:36 +0000 (01:51 +0100)
src/searchlineedit.cpp

index 2e5dc6da2570d04182b29f249039cd53aac809d4..332bb1c397559512f0682bf4b1ab66b5885a1133 100644 (file)
@@ -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) {