[Kst] branches/work/kst/portto4/kst/src/libkstapp
Adam Treat
treat at kde.org
Mon Jun 25 20:28:55 CEST 2007
SVN commit 680250 by treat:
* Disable for a second while I rework a bit.
M +6 -6 viewitemdialog.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/viewitemdialog.cpp #680249:680250
@@ -76,9 +76,9 @@
_fillAndStroke->setFillColor(b.color());
_fillAndStroke->setFillStyle(b.style());
- if (const QGradient *gradient = b.gradient()) {
- _fillAndStroke->setFillGradient(*gradient);
- }
+// if (const QGradient *gradient = b.gradient()) {
+// _fillAndStroke->setFillGradient(*gradient);
+// }
}
@@ -109,9 +109,9 @@
b.setColor(_fillAndStroke->fillColor());
b.setStyle(_fillAndStroke->fillStyle());
- QGradient gradient = _fillAndStroke->fillGradient();
- if (gradient.type() != QGradient::NoGradient)
- b = QBrush(gradient);
+// QGradient gradient = _fillAndStroke->fillGradient();
+// if (gradient.type() != QGradient::NoGradient)
+// b = QBrush(gradient);
foreach(ViewItem *item, _items) {
item->setBrush(b);
More information about the Kst
mailing list