Fix a MSVCism: in a class template, when one use a member data from a base

class, one need to use this->...
This commit is contained in:
Laurent Rineau 2008-09-24 13:24:24 +00:00
parent bdb278ab9a
commit 49a57069fd
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public:
const QPen& verticesPen() const
{
return vertices_pen;
return this->vertices_pen;
}
const QPen& edgesPen() const
@ -63,7 +63,7 @@ public:
void setVerticesPen(const QPen& pen)
{
vertices_pen = pen;
this->vertices_pen = pen;
}
void setEdgesPen(const QPen& pen)