summaryrefslogtreecommitdiffstats
path: root/konqueror
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-04-18 08:28:02 +0000
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-04-18 08:28:02 +0000
commit8b103159ba942855d6d861ddc8caf529ca099c64 (patch)
tree15e7069c2af283104f033effbf1eefbc9fcff334 /konqueror
parent2d6096ff94f0c2b72d0badda18bd51ac2347783b (diff)
downloadtdebase-8b103159ba942855d6d861ddc8caf529ca099c64.tar.gz
tdebase-8b103159ba942855d6d861ddc8caf529ca099c64.zip
Clear modified field on media device unmount (and other cases where the modified date is no longer valid)
This resolves the remainder of Bug 1666
Diffstat (limited to 'konqueror')
-rw-r--r--konqueror/listview/konq_listviewitems.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/konqueror/listview/konq_listviewitems.cc b/konqueror/listview/konq_listviewitems.cc
index 0358fbdaa..e9a14a871 100644
--- a/konqueror/listview/konq_listviewitems.cc
+++ b/konqueror/listview/konq_listviewitems.cc
@@ -135,7 +135,11 @@ void KonqListViewItem::updateContents()
if ( _time != 0 )
{
dt.setTime_t( _time );
- setText(tmpColumn->displayInColumn,TDEGlobal::locale()->formatDateTime(dt));
+ setText(tmpColumn->displayInColumn, TDEGlobal::locale()->formatDateTime(dt));
+ }
+ else
+ {
+ setText(tmpColumn->displayInColumn, TQString::null);
}
}
break;