OSDN Git Service

Change case sensitivity for notebooks, tags, & saved searches.
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / gui / NotebookTreeWidget.java
index e46baaa..b894d80 100644 (file)
@@ -183,7 +183,7 @@ public class NotebookTreeWidget extends QTreeWidget {
        \r
        public void load(List<Notebook> books, List<String> localBooks) {\r
        Notebook book;\r
-       QTreeWidgetItem child;\r
+       NTreeWidgetItem child;\r
        \r
        /* First, let's find out which stacks are expanded */\r
        QTreeWidgetItem root =  invisibleRootItem();\r
@@ -201,7 +201,7 @@ public class NotebookTreeWidget extends QTreeWidget {
        Qt.Alignment ra = new Qt.Alignment(Qt.AlignmentFlag.AlignRight);\r
        for (int i=0; i<books.size(); i++) {\r
                        book = books.get(i);\r
-                       child = new QTreeWidgetItem();\r
+                       child = new NTreeWidgetItem();\r
                        child.setChildIndicatorPolicy(ChildIndicatorPolicy.DontShowIndicatorWhenChildless);\r
                        child.setText(0, book.getName());\r
                if (icons != null && !icons.containsKey(book.getGuid())) {\r
@@ -236,7 +236,7 @@ public class NotebookTreeWidget extends QTreeWidget {
                if (allIcon == null)\r
                        allIcon = new QIcon(iconPath+"notebook-green.png");\r
                \r
-               child = new QTreeWidgetItem();\r
+               child = new NTreeWidgetItem();\r
                child.setIcon(0, allIcon);\r
                child.setText(0, "All Notebooks");\r
                child.setText(2, "");\r