Changeset 12941 for fact/Evidence
- Timestamp:
- 02/24/12 23:05:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/Evidence/GUI.cc
r12940 r12941 132 132 setText(Text.section(' ', 1)); 133 133 } 134 else if (!ShowAsTime) setText(Text); 134 else if (!ShowAsTime) { 135 bool OK; 136 double Num = Text.toDouble(&OK); 137 138 if (OK) setText(QString::number(Num, 'g', 4)); 139 else setText(Text); 140 } 135 141 else setText(QDateTime::fromTime_t(Text.toInt()).toString()); 136 142
Note:
See TracChangeset
for help on using the changeset viewer.