[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Mon Jun 28 04:03:17 CEST 2004
CVS commit by staikos:
refactor
M +8 -16 kst2dplot.cpp 1.113
--- kdeextragear-2/kst/kst/kst2dplot.cpp #1.112:1.113
@@ -883,14 +883,7 @@ void Kst2DPlot::updateTieBox(QPainter& p
if (isTied()) {
p.fillRect(tr, QColor("slate gray"));
- p.drawRect(tr);
- if (_hasFocus) {
- QSize sz = tr.size();
- sz /= 2;
- tr.setSize(sz);
- tr.moveTopLeft(tr.topLeft() + QPoint(3*tr.width()/4, 3*tr.height()/4));
- p.fillRect(tr, Qt::black);
- }
} else {
p.fillRect(tr, backgroundColor());
+ }
p.drawRect(tr);
if (_hasFocus) {
@@ -901,5 +894,4 @@ void Kst2DPlot::updateTieBox(QPainter& p
p.fillRect(tr, Qt::black);
}
- }
}
More information about the Kst
mailing list