OSDN Git Service

Cleanup compiler warning messages and alter backup & restore to handle new database...
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / filters / NoteSortFilterProxyModel.java
index bb17512..4510ffd 100644 (file)
@@ -33,12 +33,10 @@ import cx.fbn.nevernote.Global;
 \r
 public class NoteSortFilterProxyModel extends QSortFilterProxyModel {\r
        private final Map<String,String> guids;\r
-       private String dateFormat;\r
        \r
        public NoteSortFilterProxyModel(QObject parent) {\r
                super(parent);\r
                guids = new HashMap<String,String>();\r
-               dateFormat = Global.getDateFormat() + " " + Global.getTimeFormat();\r
                setDynamicSortFilter(true);\r
 //             logger = new ApplicationLogger("filter.log");\r
        }\r
@@ -50,7 +48,6 @@ public class NoteSortFilterProxyModel extends QSortFilterProxyModel {
                        guids.put(guid, null);\r
        }\r
        public void filter() {\r
-               dateFormat = Global.getDateFormat() + " " + Global.getTimeFormat();\r
                invalidateFilter();\r
        }\r
        @Override\r