OSDN Git Service

Cleanup compiler warning messages and alter backup & restore to handle new database...
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / gui / NotebookTreeWidget.java
index 80e8263..e0d9763 100644 (file)
@@ -56,7 +56,6 @@ public class NotebookTreeWidget extends QTreeWidget {
        public NoteSignal                               noteSignal;\r
        private HashMap<String, QIcon>  icons;\r
        private final DatabaseConnection                db;\r
-       private List<NotebookCounter> lastCounts;\r
        private final HashMap<String, QTreeWidgetItem>  stacks;\r
 //     private final QTreeWidgetItem                   previousMouseOver;\r
 //     private boolean                                 previousMouseOverWasSelected;\r
@@ -221,7 +220,6 @@ public class NotebookTreeWidget extends QTreeWidget {
 \r
        // update the display with the current number of notes\r
        public void updateCounts(List<Notebook> books, List<NotebookCounter> counts) {\r
-               lastCounts = counts;\r
                QTreeWidgetItem root = invisibleRootItem();\r
                QTreeWidgetItem child;\r
                \r