diff -r 7eb4e5529c82 -r 954221e01e4e flagrowobj.cpp --- a/flagrowobj.cpp Mon Jan 14 16:26:59 2008 +0000 +++ b/flagrowobj.cpp Mon Jan 14 16:26:59 2008 +0000 @@ -1,4 +1,5 @@ #include "flagrowobj.h" +#include "geometry.h" #include @@ -109,9 +110,9 @@ QString FlagRowObj::getFlagName (const QPointF &p) { - if (!inBox (p)) return ""; + if (!inBox (p,clickBox)) return ""; for (int i=0; iinBox (p)) return flag.at(i)->getName(); + if (inBox (p,flag.at(i)->getClickBox ())) return flag.at(i)->getName(); return "";