[Kst] branches/work/kst/portto4/kst/src/libkstapp
Mike Fenton
mike at staikos.net
Thu Apr 16 17:07:57 CEST 2009
SVN commit 954944 by fenton:
Cleanup compile warnings.
M +2 -7 plotitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/plotitem.cpp #954943:954944
@@ -1861,6 +1861,7 @@
painter->translate(QPointF(topLabel.x(), topLabel.y()));
Label::renderLabel(rc, _topLabel.parsed->chunk);
painter->restore();
+
}
#if DEBUG_LABEL_REGION
@@ -1936,9 +1937,6 @@
_calculatedAxisMarginHeight: the height of the axis numbers
*/
void PlotItem::calculateBottomTickLabelBound(QPainter *painter) {
- qreal inHeight = _calculatedAxisMarginHeight;
- qreal inVLead = _calculatedAxisMarginVLead;
- qreal inROver = _calculatedAxisMarginROverflow;
QRectF xLabelRect;
painter->save();
@@ -1993,10 +1991,6 @@
_calculatedAxisMarginWidth: the width of the widest axis number
*/
void PlotItem::calculateLeftTickLabelBound(QPainter *painter) {
- qreal inWidth = _calculatedAxisMarginWidth;
- qreal inHLead = _calculatedAxisMarginHLead;
- qreal inTOver = _calculatedAxisMarginTOverflow;
-
QRectF yLabelRect;
int flags = Qt::TextSingleLine | Qt::AlignCenter;
@@ -2649,6 +2643,7 @@
bool PlotLabel::configureFromXml(QXmlStreamReader &xml, ObjectStore *store) {
+ Q_UNUSED(store);
bool validTag = true;
QString primaryTag = xml.name().toString();
More information about the Kst
mailing list