summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2011-08-01 13:16:02 +1000
committerQt by Nokia <qt-info@nokia.com>2011-08-01 05:20:26 +0200
commitc5a4a7a7a9565a29fa70f1bc858f9a3628c237b4 (patch)
tree197f96b96227cee741716075831ae42a9092e3c3 /tests/manual
parent22260646a9fa7dffbd506b6bdd2586ad3d4d3556 (diff)
remove qtimestamp
Just use a quint64. Not binary compatible but source compatible. Change-Id: I240baeef905744f844f3c37b2739fd9a6562af15 Reviewed-on: http://codereview.qt.nokia.com/2412 Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/sensor_explorer/explorer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/manual/sensor_explorer/explorer.cpp b/tests/manual/sensor_explorer/explorer.cpp
index 31308379..d16908e8 100644
--- a/tests/manual/sensor_explorer/explorer.cpp
+++ b/tests/manual/sensor_explorer/explorer.cpp
@@ -389,9 +389,7 @@ bool Explorer::filter(QSensorReading *reading)
QLatin1String name(mo->property(i).name());
QTableWidgetItem *value = ui.reading->item(row, 3);
QVariant val = mo->property(i).read(reading);
- if (typeName == "qtimestamp") {
- value->setText(QString("%1").arg(val.value<qtimestamp>()));
- } else if (typeName == "LightLevel") {
+ if (typeName == "LightLevel") {
QString text;
switch (val.toInt()) {
case 1: