Branch: master

8b103159 2014-04-18 03:28:02 Timothy Pearson
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
M konqueror/listview/konq_listviewitems.cc
diff --git a/konqueror/listview/konq_listviewitems.cc b/konqueror/listview/konq_listviewitems.cc
index 0358fbd..e9a14a8 100644
--- a/konqueror/listview/konq_listviewitems.cc
+++ b/konqueror/listview/konq_listviewitems.cc
@@ -135,7 +135,11 @@
                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;