Commit 781bb041 authored by Oliver Bock's avatar Oliver Bock

Make sure pulse fits in view after update

* Shouldn't be required but makes a difference on Qt 4.5
* BTW, Qt 4.5 solves the "flipped pulse profile" issue: http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id=239047
parent 9e7d215a
......@@ -88,6 +88,8 @@ void PulseScopeWidget::drawCurve(const QVector<double>& vector)
else {
m_path->setPath(pulsePath);
}
fitInView(m_scene.itemsBoundingRect(), Qt::IgnoreAspectRatio);
}
void PulseScopeWidget::setMarker(double position) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment