Dear all, at the suggestion of Lubomir I compiled with -Wall and I got two g++ warnings, which indeed point to two highly suspicious if/else constructs. The first one is trivial (PR submited).
For the second one, I simply don't understand the intent of the indent (heh): In qt-models/diveplannermodel.cpp:341, the if is indented as if it was part of the outer if. But it isn't owing to missing braces. Since I don't know the meaning of "value", I can't decide in this case... Berthold _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface