diff options
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/sensor_explorer/explorer.cpp | 4 |
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: |