Index: trunk/BNC/src/rinex/polarplot.cpp
===================================================================
--- trunk/BNC/src/rinex/polarplot.cpp	(revision 4330)
+++ trunk/BNC/src/rinex/polarplot.cpp	(revision 4331)
@@ -34,6 +34,5 @@
   for (int ii = from; ii <= to; ii++) {
     QwtSymbol ss(symbol);
-    const t_polarData*  polarData = reinterpret_cast<const t_polarData*>(data());
-    const t_polarPoint& point     = polarData->sample(ii);
+    const QwtPointPolar& point    = sample(ii);
     const QColor color = colorMap.color(QwtInterval(0.0, 1.0), point._value);
     ss.setBrush(QBrush(color));
@@ -45,5 +44,5 @@
 // Sample (virtual) - this is for testing only
 ////////////////////////////////////////////////////////////////////////////
-t_polarPoint t_polarData::sample(size_t ii) const {
+QwtPointPolar t_polarData::sample(size_t ii) const {
   const QwtInterval zenithInterval(0.0, 90.0);
   const QwtInterval azimuthInterval(0.0, 360.0 );
@@ -57,5 +56,8 @@
   double value = static_cast<double>(ii) / _size;
 
-  return t_polarPoint(aa, rr, value); 
+  QwtPointPolar point(aa,rr);
+  point._value = value;
+
+  return point;
 }
 
@@ -70,5 +72,5 @@
                                  QSize(3, 3)));
   t_polarData* data = new t_polarData(numPoints);
-  curve->setData(reinterpret_cast<QwtSeriesData<QwtPointPolar>*>(data));
+  curve->setData(data);
   return curve;
 }
Index: trunk/BNC/src/rinex/polarplot.h
===================================================================
--- trunk/BNC/src/rinex/polarplot.h	(revision 4330)
+++ trunk/BNC/src/rinex/polarplot.h	(revision 4331)
@@ -20,21 +20,10 @@
 //
 //////////////////////////////////////////////////////////////////////////////
-class t_polarPoint : public QwtPointPolar {
- public:
-  t_polarPoint(double az, double zen, double value) : QwtPointPolar(az, zen) {
-    _value = value;
-  }
-  ~t_polarPoint() {}
-  double _value; // the third coordinate
-};
-
-//
-//////////////////////////////////////////////////////////////////////////////
-class t_polarData: public QwtSeriesData<t_polarPoint> {
+class t_polarData: public QwtSeriesData<QwtPointPolar> {
  public:
   t_polarData(size_t size) {
     _size = size;
   }
-  virtual t_polarPoint sample(size_t ii) const;
+  virtual QwtPointPolar sample(size_t ii) const;
   virtual size_t size() const {return _size;}
   virtual QRectF boundingRect() const {
Index: trunk/BNC/src/src.pro
===================================================================
--- trunk/BNC/src/src.pro	(revision 4330)
+++ trunk/BNC/src/src.pro	(revision 4331)
@@ -4,6 +4,6 @@
 # Switch to debug configuration
 # -----------------------------
-CONFIG -= debug
-CONFIG += release
+CONFIG -= release
+CONFIG += debug
 
 DEFINES += NO_RTCM3_MAIN 
