Changeset 11208
- Timestamp:
- Sep 14, 2010, 4:08:24 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt/details.cc
r11161 r11208 500 500 latest = dt; 501 501 } 502 const int seconds = latest.secsTo( qdt_now ); 503 if( seconds < 5 ) 502 const int seconds = latest.isValid() ? latest.secsTo( qdt_now ) : -1; 503 if( seconds < 0 ) 504 string = none; 505 else if( seconds < 5 ) 504 506 string = tr( "Active now" ); 505 507 else
Note: See TracChangeset
for help on using the changeset viewer.