OSDN Git Service

小さな修正
authoryuki <kimaira7@gmail.com>
Tue, 22 Oct 2013 05:52:24 +0000 (14:52 +0900)
committeryuki <kimaira7@gmail.com>
Tue, 22 Oct 2013 05:52:24 +0000 (14:52 +0900)
src/cx/fbn/nevernote/gui/RensoNoteListDock.java
src/cx/fbn/nevernote/gui/RensoNoteListItem.java

index 69d11c3..7259f4c 100644 (file)
@@ -80,7 +80,7 @@ public class RensoNoteListDock extends QDockWidget {
                weightingModeSelect.setToolTip(tr("Preset Weighting Mode"));
                weightingModeSelect.insertItem(PresetMode.Standard.ordinal(), tr("Standard"));
                weightingModeSelect.insertItem(PresetMode.ConcurrentBrowse.ordinal(), tr("Concurrent Browse"));
-               weightingModeSelect.insertItem(PresetMode.OperationToOrganize.ordinal(), ("Operation to Organize"));
+               weightingModeSelect.insertItem(PresetMode.OperationToOrganize.ordinal(), tr("Operation to Organize"));
                weightingModeSelect.insertItem(PresetMode.ContentSimilarity.ordinal(), tr("Content Similarity"));
                weightingModeSelect.insertItem(PresetMode.Custom.ordinal(), tr("Custom"));
                int savedModeIndex = 0;
index 732a0ef..e683284 100644 (file)
@@ -132,9 +132,9 @@ public class RensoNoteListItem extends QWidget{
                // 関連度
                double ratio = (double)relationPoints / allPointSum;
                QColor relationColor;
-               if (ratio >= 0.8) {
+               if (ratio >= 0.5) {
                        relationColor = new QColor(255, 0, 0);
-               } else if (ratio >= 0.5) {
+               } else if (ratio >= 0.25) {
                        relationColor = new QColor(255, 100, 0);
                } else {
                        relationColor = new QColor(255, 200, 0);