|
From: sfeam <sf...@us...> - 2017-03-23 02:00:12
|
Aha!
Finally I understand how the position of GEPID in the enum could make a difference.
It is because of these lines here:
QtGnuplotEvent.cpp: 123
if ((type < 1000) || (type > GEDone))
{
// FIXME EAM - At this point the program cannot recover and
// if we try to continue it will eventually become a zombie.
// Better to just exit explicitly right now.
qDebug() << "qt_gnuplot exiting on read error";
exit(0);
// return;
}
So it really does treat the event differently if the code comes after GEDone.
Sigh.
OK, please revert my change to place GEPID at the end so that the
Windows executables work properly. That would break my debugging things
on linux, but the windows code won't be run on linux anyhow.
I will think about how to make this more fool-proof and make sure that it
does not break either linux or Windows in the future.
Maybe it is a bit late to ask, but is the raise-console option really necessary
on Windows? In truth my preferred option would be to get rid of it, in which
case GEPID is not needed anyhow.
Ethan
|