1.1 --- a/flagrowobj.cpp Tue Apr 10 13:22:51 2007 +0000
1.2 +++ b/flagrowobj.cpp Mon May 05 13:46:43 2008 +0000
1.3 @@ -1,4 +1,5 @@
1.4 #include "flagrowobj.h"
1.5 +#include "geometry.h"
1.6
1.7 #include <QToolBar>
1.8
1.9 @@ -109,9 +110,9 @@
1.10
1.11 QString FlagRowObj::getFlagName (const QPointF &p)
1.12 {
1.13 - if (!inBox (p)) return "";
1.14 + if (!inBox (p,clickBox)) return "";
1.15 for (int i=0; i<flag.size(); ++i)
1.16 - if (flag.at(i)->inBox (p)) return flag.at(i)->getName();
1.17 + if (inBox (p,flag.at(i)->getClickBox ())) return flag.at(i)->getName();
1.18 return "";
1.19
1.20