YAxis Error Test, CONFIG+=rtti config for fedora 15 mingw32

This commit is contained in:
Mark Watkins 2011-07-23 13:50:30 +10:00
parent 19429f33e7
commit 303fb6c7ff
2 changed files with 6 additions and 1 deletions

View File

@ -70,10 +70,15 @@ void gYAxis::Plot(gGraphWindow &w,float scrx,float scry)
glColor4ub(linecol1.red(),linecol1.green(),linecol1.blue(),linecol1.alpha());
glLineWidth(1);
if (min_ytick<=0) {
qDebug() << "min_ytick error in gYAxis::Plot()";
return;
}
if (min_ytick>=1000000) {
min_ytick=100;
}
for (double i=miny+(min_ytick/2.0); i<maxy; i+=min_ytick) {
ty=(i - miny) * ymult;
h=(start_py+height)-ty;

View File

@ -6,7 +6,7 @@
QT += core gui webkit opengl
#CONFIG += static
CONFIG += rtti
#static {
# CONFIG += static