More accidental debug

.. this is becoming a bad habit. sorry.
This commit is contained in:
Mark Liversedge
2020-04-12 20:38:42 +01:00
parent 4b3c36464e
commit c31d5c703f

View File

@@ -250,12 +250,7 @@ ChartBar::eventFilter(QObject *object, QEvent *e)
// if we want to 'autoscroll'
if (e->type() == QEvent::Leave || e->type() == QEvent::Enter) {
tidy(); // tidy up anyway
// XXX for later, perhaps when drag/dropping
// we should try and be a little more fluid / animate ...
// which will probably mean using QScrollArea::ScrollContentsBy
}
fprintf(stderr, "scrollbar width=%d, buttonbar pos=%d\n", scrollArea->geometry().width(), buttonBar->pos().x()); fflush(stderr);
return false;
}