Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37042658
en ru br
Репозитории ALT
S:4.8.7-alt25
5.1: 4.6.3-alt1.M51.1
4.1: 4.4.3-alt1.M41.1
4.0: 4.3.4-alt5.M40.1
3.0: 4.0.1-alt1
+updates:4.0.1-alt2
+backports:4.2.3-alt7.1.M30
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: qt4

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: qt-4.3.2-alt-checkbox-indicator-plastique.patch
Скачать


--- qt-x11-opensource-src-4.3.2/src/gui/styles/qplastiquestyle.cpp~	2007-10-01 17:06:06 +0400
+++ qt-x11-opensource-src-4.3.2/src/gui/styles/qplastiquestyle.cpp	2007-10-30 17:27:59 +0300
@@ -1723,10 +1723,12 @@ void QPlastiqueStyle::drawPrimitive(Prim
                 else if (unchanged)
                     qBrushSetAlphaF(&pointBrush, 0.3);
                 p->setPen(QPen(pointBrush, 3));
-                const QLine lines[2] = {
-                    QLine(rect.left() + 4, rect.top() + 4, rect.right() - 3, rect.bottom() - 3),
-                    QLine(rect.right() - 3, rect.top() + 4, rect.left() + 4, rect.bottom() - 3) };
-                p->drawLines(lines, 2);
+                const QPointF points[3] = {
+		    QPointF(rect.left() + 4, rect.top() + rect.height()/2),
+		    QPointF(rect.left() + rect.width()/2, rect.bottom() - 2),
+		    QPointF(rect.right() - 3, rect.top() + 4)
+		};
+                p->drawPolyline(points, 3);
             }
 
             p->restore();
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin