[Kst] branches/work/kst/portto4/kst/src/libkstapp
Barth Netterfield
netterfield at astro.utoronto.ca
Thu May 26 23:47:31 CEST 2011
SVN commit 1233732 by netterfield:
Remove debugging statement that sneaked in...
M +1 -3 plotitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/plotitem.cpp #1233731:1233732
@@ -1375,12 +1375,10 @@
if (flags & Qt::AlignRight) {
qreal w = painter->fontMetrics().width(base_mantisa[0] + "x10") +
painter->fontMetrics().width(base_mantisa[1].remove('+'))*superscript_scale;
- //if (w < r.width()) {
qreal right = r.right();
r.setWidth(w);
r.moveRight(right);
- qDebug() << "left: " << r.left();
- //}
+
} else if (flags & Qt::AlignCenter) {
qreal w = painter->fontMetrics().width(base_mantisa[0] + "x10") +
painter->fontMetrics().width(base_mantisa[1].remove('+'))*superscript_scale;
More information about the Kst
mailing list