qtmobility/src/sensors/qambientlightsensor.h
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
--- a/qtmobility/src/sensors/qambientlightsensor.h	Fri Jun 11 14:26:25 2010 +0300
+++ b/qtmobility/src/sensors/qambientlightsensor.h	Wed Jun 23 19:08:38 2010 +0300
@@ -83,7 +83,7 @@
     explicit QAmbientLightSensor(QObject *parent = 0) : QSensor(QAmbientLightSensor::type, parent) {}
     virtual ~QAmbientLightSensor() {}
     QAmbientLightReading *reading() const { return static_cast<QAmbientLightReading*>(QSensor::reading()); }
-    static const char *type;
+    static char const * const type;
 };
 
 QTM_END_NAMESPACE