This "order of variables in .h files and .cpp files" is really... picky :)
CCMAIL: kstars@30doradus.org
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=599987
painter->setPen( barPen() );
painter->setBrush( barBrush() );
- for ( unsigned int i=0; i<pList.size(); ++i ) {
+ for ( int i=0; i<pList.size(); ++i ) {
double w;
if ( pList[i]->barWidth() == 0.0 ) {
if ( i<pList.size()-1 )
void stBarWidth( double w ) { BarWidth = w; }
private:
- double X, Y, BarWidth;
+ double X, Y;
QString Label;
+ double BarWidth;
};
/**
//Draw ticklabel
if ( a->showTickLabels() ) {
- QRect r( int(px) - BIGTICKSIZE, -1.5*BIGTICKSIZE, 2*BIGTICKSIZE, BIGTICKSIZE );
+ QRect r( int(px) - BIGTICKSIZE, (int)-1.5*BIGTICKSIZE, 2*BIGTICKSIZE, BIGTICKSIZE );
p->drawText( r, Qt::AlignCenter | Qt::TextDontClip, a->tickLabel( xx ) );
}
}