[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Fri Dec 17 17:31:40 CET 2004
CVS commit by staikos:
revert datamode fix for now because zoom boxes are more important.
M +1 -10 kst2dplot.cpp 1.332
--- kdeextragear-2/kst/kst/kst2dplot.cpp #1.331:1.332
@@ -1951,5 +1951,5 @@ void Kst2DPlot::paint(KstPaintType type,
updateTieBox(p);
- // we might need to draw the datamode marker.
+ // we might need to redraw the datamode marker.
if (!_highlighting) {
KstTopLevelViewPtr tlv = KstApp::inst()->activeView();
@@ -3156,10 +3156,7 @@ void Kst2DPlot::mouseMoveEvent(QWidget *
w->viewObject()->forEachChild<QPainter&>(&KstViewObject::removeFocus, p);
}
- _mouse.lastLocation = e->pos();
setHasFocus(true);
p.setClipRegion(_lastClipRegion);
updateTieBox(p);
- } else {
- _mouse.lastLocation = e->pos();
}
@@ -4544,8 +4541,5 @@ void Kst2DPlot::dropEvent(QWidget *view,
QPainter p(view);
w->view()->forEachChild<QPainter&>(&Kst2DPlot::removeFocus, p);
- _mouse.lastLocation = e->pos();
setHasFocus(true);
- } else {
- _mouse.lastLocation = e->pos();
}
@@ -4586,8 +4580,5 @@ void Kst2DPlot::dropEvent(QWidget *view,
QPainter p(view);
w->view()->forEachChild<QPainter&>(&Kst2DPlot::removeFocus, p);
- _mouse.lastLocation = e->pos();
setHasFocus(true);
- } else {
- _mouse.lastLocation = e->pos();
}
setDirty();
More information about the Kst
mailing list