[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/mobile/tasks
From:       Sergio Luis Martins <iamsergio () gmail ! com>
Date:       2010-11-19 14:04:44
Message-ID: 20101119140444.0F61DAC8A0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1198731 by smartins:

priority 9 should have less priority than priority 1

 M  +2 -2      tasklistproxy.cpp  


--- trunk/KDE/kdepim/mobile/tasks/tasklistproxy.cpp #1198730:1198731
@@ -127,8 +127,8 @@
   }
 
   if ( leftPriority != rightPriority ) {
-    // higher priority first
-    return leftPriority > rightPriority;
+    // higher priority first. ( Also note that 9 is low, and 1 is high )
+    return leftPriority < rightPriority;
   } else {
     // lower id first
     return leftItem.id() < rightItem.id();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic