mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
YAxis Error Test, CONFIG+=rtti config for fedora 15 mingw32
This commit is contained in:
parent
19429f33e7
commit
303fb6c7ff
@ -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;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
QT += core gui webkit opengl
|
||||
|
||||
#CONFIG += static
|
||||
CONFIG += rtti
|
||||
|
||||
#static {
|
||||
# CONFIG += static
|
||||
|
Loading…
Reference in New Issue
Block a user